<P> The Chauhan king Prithviraj III was defeated in 1192 by Muhammad Ghori . </P> <P> From 1206, Delhi became the capital of the Delhi Sultanate under the Slave Dynasty . The first Sultan of Delhi, Qutb - ud - din Aybak, was a former slave who rose through the ranks to become a general, a governor and then Sultan of Delhi . Qutb - ud - din started the construction of the Qutub Minar, a recognisable symbol of Delhi, to commemorate his victory but died before its completion . In the Qutb complex he also constructed the Quwwat - al - Islam (might of Islam), which is the earliest extant mosque in India . He was said to have destroyed twenty - seven Jain temples initially housed in the Qutb complex and pillaged exquisitely carved pillars and building material from their debris for this mosque, many of which can still be seen . After the end of the Slave dynasty, a succession of Turkic Central Asian and Afghan dynasties, the Khalji dynasty, the Tughluq dynasty, the Sayyid dynasty and the Lodi dynasty held power in the late medieval period and built a sequence of forts and townships in Delhi . </P> <P> In 1398, Timur Lang invaded India on the pretext that the Muslim sultans of Delhi were too tolerant of their Hindu subjects . After defeating the armies of Nasiruddin Mahmud of Tughlaq dynasty, on 15 December 1398, Timur entered Delhi on 18 December 1398, and the city was sacked, destroyed, and left in ruins, and over 100,000 war prisoners were killed as well . In 1526, following the First Battle of Panipat, Zahiruddin Babur, the former ruler of Fergana, defeated the last Afghan Lodi sultan and founded the Mughal dynasty which ruled from Delhi, Agra and Lahore . </P> <P> In the mid-16th century there was an interruption in the Mughal rule of India as Sher Shah Suri defeated Babur's son Humayun and forced him to flee to Persia . Sher Shah Suri built the sixth city of Delhi, as well as the old fort known as Purana Qila, even though this city was settled since the ancient era . After Sher Shah Suri's death in 1545, his son Islam Shah took the reins of north India from Delhi . Islam Shah ruled from Delhi till 1553 when Hindu king Hem Chandra Vikramaditya, also called Hemu, became the Prime Minister and Chief of Army of Adil Shah . Hem Chandra fought and won 22 battles in all against rebels and twice against Akbar's army in Agra and Delhi, without losing any . After defeating Akbar's army on 7 October 1556 at Tughlakabad fort area in Battle of Delhi (1556), Hemu acceded to Delhi throne and established Hindu Raj in North India for a brief period, and was bestowed with the title' Vikramaditya', at his coronation in Purana Quila, Delhi . </P>

Rajput dynasty is related with founding of delhi