The residential areas were further divided into 108 alleys by the road system, where the eastern and western markets were centrally located. For the purposes of security and easy management, all these residential alleys and markets were built as enclosed structures. The alley gates opened and shut at regular hours, and curfews were imposed and monitored by the troops of patrolling guards. There were also patrolling soldiers at night and civilians were banned from going out at night. Until today, the ancient city walls of Xi’an, as well as the sites of the Tang imperial palaces, Daming Palace and Xingqing Palace, are still largely preserved with the original structures of the imperial city of Tang Dynasty. the provision of scenic spots and facilities for the public’s enjoyment in Chang’an city, helped set the capital city aprt from its predecessors. The well-known scenic tourist attractions in Chang’an included a pond located in the southeast corner of the city and lush gardens. During those days, it was the common practice among successful candidates of the imperial examinations to follow the bend of the river and tour the scenic spots.