 To the east was Dong'anmen Gate ("Gate of Eastern Peace"); to the west was the Xi'anmen Gate ("Gate of Western Peace").To the north was Bei'anmen (later renamed the Di'anmen, "Gate of Earthly Peace").Also housed in the Imperial City were a number of service buildings for the imperial palace, warehouses, Taoist temples, and a palace for the Imperial Grandson.