this space are five main sections: the sanctum with the towering superstructure (sri vimana), the Nandi hall in front (Nandi-mandapam) and in between these the main community hall (mukhamandapam), the great gathering hall (mahamandapam) and the pavilion that connects the great hall with the sanctum (Antrala). The temple complex integrates a large pillared and covered veranda (prakara) in its spacious courtyard, with a perimeter of about for circumambulation. Outside this pillared veranda there are two walls of enclosure, the outer one being defensive and added in 1777 by the French colonial forces with gun-holes with the temple serving as an arsenal. They made the outer wall high, isolating the temple complex area. On its east end is the original main gopuram or gateway that is barrel vaulted. It is less than half the size of the main temple's vimana. Additional structures were added to the original temple after the 11th century, such as a mandapa in its northeast corner and additional gopurams (gateways) on its perimeters to allow people to enter and leave from multiple locations. Some of the shrines and structures were added during the Pandya, Nayaka, Vijayanagara and Maratha era, before the colonial era started, and these builders respected the original plans and symmetry rules. Inside the original temple courtyard, along with the main sanctum and Nandi-mandapam are two major shrines, one for Kartikeya and for Parvati. The complex has additional smaller shrines. The Peruvudaiyar temple continued the Hindu temple traditions of South India by adopting architectural and decorative elements, but its scale significantly exceeded the temples constructed before the 11th century. The Chola era architects and artisans innovated the expertise to scale up and build, particularly with heavy stone and to accomplish the high towering vimana. The temple faces east, and once had a water moat around it. This has been filled up. The fortified wall now runs around this moat. The two walls have ornate gateways called the gopurams. These are made from stone and display entablature. The main gateways are on the east side. The first one is called the Keralantakan tiruvasal, which means the "sacred gate of the Keralantakan". The word Keralantakan was the surname of king Rajaraja who built it. About a ahead is the inner courtyard gopuram called the Rajarajan tiruvasal. This is more decorated than the Keralantakan tiruvasal, such as with its adhishthanam relief work narrating scenes from the Puranas and