The Vijayanagar Empire was established in 1336 by Harihara I and his brother Bukka Raya I of Sangama Dynasty, which originated as a political heir of the Hoysala Empire, Kakatiya Empire, and the Pandyan Empire. The empire rose to prominence as a culmination of attempts by the south Indian powers to ward off Islamic invasions by the end of the 13th century. According to one narrative, the empire's founders Harihara Raya I and Bukka Raya I were two brothers in the service of the Kampili chief. After Kampili fell to the Muslim invasion, they were taken to Delhi and converted to Islam. They were sent back to Kampili as the Delhi Sultan's vassals. After gaining power in the region, they approached Vidyaranya, who converted them back to the Hindu faith.