The temple was built at the orders of Lokamahadevi, the senior queen of Vikramaditya II to commemorate his victory over the Pallavas.
The Arabs tried to invade India but they were defeated by the north Indian king Nagabhata of the Pratihara Dynasty and by the south Indian Emperor Vikramaditya II of the Chalukya dynasty in the early 8th century.
Vikramaditya | Vikramaditya II | Vikramaditya VI | Vikramāditya | Vikramaditya Motwane |
The southern contingent moving south into Gujarat was defeated at Navsari by Avanijanashraya Pulakesi who was sent by Vikramaditya II, ruler of the South Indian Chalukya Empire.