According to the (Budaun District, Govt. Of Uttar Pradesh) mythological stories, Budaun was named after Ahir prince Budh. According to tradition, Budaun was founded about 905 AD, and an inscription, probably of the 12th century, gives a list of twelve Rathore kings reigning at Budaun then called Vodamāyuta. Kanauj was conquered after 1085 by Mahmūd, the son of the Ghaznavid Sultān, driving out the Rāshtrakūta chief. This the Rāshtrakūta chief then move their capital to Vodamāyuta, where they ruled until conquered by Qutb-ud-din Aibak.