Of Uttar Pradesh) stories, Budaun was named after Ahir prince Budh.[10] The local tradition regarding this city is that it was founded in 905 A.D. by an Ahir prince whose name was Budh. and after whom it was called Budaun.[11] and an inscription, probably of the 12th century, gives a list of twelve Rathore kings reigning at Budaun then called Vodamāyuta.[7] Kanauj was conquered after 1085 by Mahmūd, the son of the Ghaznavid Sultān, driving out the Rāshtrakūta chief.