 The "gopurams" function as gateways through the walls that surround the temple complex.The gopuram's origins can be traced back to early structures of the Pallava dynasty.By the twelfth century under the Pandya rulers these gateways became a dominant feature of a temple's outer appearance, eventually overshadowing the inner sanctuary obscured from view by the gopuram's colossal size.