Capital city in Japan built by emperor Kammu in A.D.794. It was modeled on the Chinese city of Chang'an and remained the official capital of Japan for 1,000 years. This city later became known as Kyoto:capital and the center of production and trade during medieval times.