Nara period

Heijō-kyō (imperial court) is built in Nara, and legal codes are implemented into the foundation of society.