 To the south of the Forbidden City are the Imperial Shrine of Family or Imperial Ancestral Temple and Altar of Earth and Harvests.Further to the south was the "Corridor of a Thousand Steps" outside Chengtianmen Gate, to either side of which are the offices of the various government ministries.There are seven gates in the walls of the Imperial City.