sentences:  At various periods of the reign of this dynasty many famous temples dedicated to Vishnu, Shiva, Surya, Shakti of the Hindu religion and also for the Thirthankaras of Jain religion were built.Vidhyadhara, also known as Bida in the recordings of the Muslim historian Ibn-al-Athir was a powerful ruler who fought Mahmud of Ghazni in the first offensive launched by the latter in 1019.This battle was not conclusive and Mahmud had to return to Ghazni.