The Kanchipuram temple has a rich history and cultural significance. According to legend, the temple was built by the Pallava dynasty, who ruled Kanchipuram from the 6th to the 9th century AD. The temple has undergone several renovations and expansions over the centuries, with contributions from various dynasties, including the Chola and Vijayanagara empires.