The Forbidden City is located on Beijing Central Axis, with the Jingshan Hill as the backdrop to the north and the complex of the Tian'anmen, Upright and Meridian Gates forming a continuous ceremonial space to the south. Walls surround the palace city on four sides, with a gate on each side, and a turret at each of the four corners of the palace city. Tongzi River encircles the walls outside. All the buildings of highest-grade of architectural design and vital functions are on the Axis, embodying the principle of "choosing the center." The Three Main Halls, comprising the Hall of Supreme Harmony, the Hall of Central Harmony, and the Hall of Preserving Harmony, stand in the middle portion; and the Back Three Palaces comprising the Hall of Heavenly Purity, the Hall of Union, and the Palace of Earthly Tranquility command the quarters in the north portion. The layout of the halls forms the pattern of "court in the front, dwelling in the back”. The Hall of Literary Brilliance Complex, the Hall for Ancestral Worship Complex, and the Six Eastern Palaces Complex in the east section, and the Hall of Martial Valor Complex, the Palace of Compassion and Tranquility Complex, and the Six Western Palaces Complex in the west section are symmetrically arranged on both sides of the Axis.