In 1192, Muhammad Ghuri defeated Prithviraj Chauhan in the Second Battle of Tarain. With this victory, a large part of North India came under Ghuri’s control. He entrusted the running of his North Indian kingdom to his Mamluk general Qutb ud-Din Aybak. When Ghuri died in 1206, Aybak became an independent sultan. Aybak was followed by his son-in-law Iltutmish who ruled from 1210 to 1236. After Iltutmish’s death in 1236, his daughter Radiyya Begum became the ruler. Radiyya's regime was overthrown in a coup. After her, a series of weak sultans followed. In 1296, power went to the Khilji dynasty, in 1320 to the Tughlaq dynasty, in 1414 to the Sayyid dynasty, and in 1451 to the Lodi dynasty. The Mughal dynasty acquired power in 1526.