The Shore Temple at Mamallapuram, built during the reign of the Pallava King Rajasimha (c. 700 - 728), is the earliest important structural temple in Southern India. Its three sanctuaries are dedicated to Vishnu and Shiva. As its name suggests, the Shore Temple overlooks the Bay of Bengal. Ornamentation on the roof, although eroded, is quite similar to the Pancha Rathas seen earlier. Unlike those temples, the roofs here are capped by finials which show that the temple was complete and functional. Beneath the towers, the sanctuary walls are largely undecorated, although their engaged columns are carved with lion bases.