The invasion of Mongol ruler Timur in1398 A.D. sealed the fate of the Tughluq dynasty.
Mughal dynasty started with Babur ascending the throne of Agra in 1526 A.D. In the beginning his rule in India Babur had to face the problems of the Rajputs and the Afghan chiefs.
During the reign of the second son Immadi Narasimha in 1505 A.D, the Taluva chief Vira Narasimha usurped the throne and thus laid the foundation of the Taluva dynasty.