From the year 707, steps were taken to shift the capital to Heijō-kyō, a place near present-day Nara. This was completed in 710. A new city was built. The city was built to look like the Chinese capital city of that time. At that time, the Tang Dynasty was ruling China, and the capital was at Chang'an (now Xi'an).