Hanoi is divided into the inner city, urban area, and outer city, which represent those areas outside the main city-areas or suburbs. The inner city may be further classified into three parts: forbidden city, imperial city, and capital city. Literally, the forbidden city is the residence of the king, including concubines and implementing offspring, and attendants; the imperial city, wherein are the royal officials' offices layout, from where the former can enjoy opera and parties; the neighboring areas, lined with markets, and of residential quarters arrange outside of the imperial city, are the capital city. In the pastoral, imperial gardens were of luxuriant beauty, in the glorious ambiance of the towers and pavilions within the forbidden city, and huge pagodas in the capital city and lined temples. The situation would lead to the gradual ruin of the ancient edifices constructed during the Ly, Chen, Le, and Nguyen dynasties that could almost stretch up to 1,000 years. The two poles of the North Gate and the Guanzhang Gate remain almost completely in a ruin from the line of palaces, while the entire line of palaces is in a state unknown to mankind and largely obsolete.