The Sun Temple at Modhera was built in 1026-27 AD under the Solanki dynasty. It is dedicated to the sun god Surya and was designed so that sunlight would illuminate the deity's image at the equinoxes. The temple complex includes a large sacred pool and the main temple, divided into a pillared hall and inner sanctuary. Though now in ruins, the temple was renowned for its intricate carvings covering every surface both inside and out.