The present temple was built in the 10th century when Chidambaram was the capital of the Chola dynasty, making it one of the oldest surviving active temple complexes in South India. After its 10th-century consecration by the Cholas who considered Nataraja as their family deity, the temple has been damaged, repaired, renovated and expanded through the 2nd millennium. Most of the temple's surviving plan, architecture and structure is from the late 12th and early 13th centuries, with later additions in similar style. While Shiva as Nataraja is the primary deity of the temple, it reverentially presents major themes from Shaktism, Vaishnavism, and other traditions of Hinduism. The Chidambaram temple complex, for example, has the earliest known Amman or Devi temple in South India, a pre-13th-century Surya shrine with chariot, shrines for Ganesha, Murugan and Vishnu, one of the earliest known Shiva Ganga sacred pool, large mandapas for the convenience of pilgrims (choultry, "ambalam" or "sabha") and other monuments. Shiva himself is presented as the Nataraja performing the Ananda Tandava ("Dance of Delight") in the golden hall of the shrine "Pon Ambalam".