Talking about its wide history, the first person to step into this barren land was Prithvi Raj Chauhan but he was soon defeated by Afghan Muhammad Ghori. Anangpal Tomar a Gurjar (or Gujjar) ruler of
Delhi often described as the founder of . Delhi
Soon the slave dynasty was at its end and it was further continued by Turkic Central Asian and Afghan dynasties, the Khilji 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.
Sooner or later these dynasties came to an end and it was further continued by Timur entered
on December 18, 1398, and the city was sacked, destroyed, and left in ruins, and over 100,000 war prisoners were killed as well. Delhi
Than occurred the battle of Panipat and soon the Afhan Lodi dynasty were counting their last stage in
Delhi .In 1526 than comes the new freshness to by the coming and ruling of the new dynasty i.e. Mughal dynasty which ruled from Delhi Delhi, Agra and Lahore.
But the great rebellion was still for conquering the divine land all over again. In the mid-sixteenth 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 Afghanistan and Persia. Sher Shah Suri, built the sixth city of , as well as the old fort known as Purana Qila Delhi
After Sher Shah Suri’s death in 1545 Mughal dynsty again onquered the land of reballions , Humayun recovered the throne with Persian help in 1555, however he died in 1556 and was buried in Humayun's tomb.
The era of happiness , the saga of beautify land was again settled in Delhi In the mid-seventeenth century, the Mughal Emperor Shah Jahan (1628–1658) built the city that sometimes bears his name Shahjahanabad, the seventh city of Delhi that is more commonly known as the old city or old Delhi. This city contains a number of significant architectural features, including the Red Fort (Lal Qila) and the Jama Masjid. The old city served as the capital of the later Mughal Empire from 1638 onwards, when Shah Jahan transferred the capital back from Agra.
Aurangzeb (1658–1707) crowned himself as emperor in
in 1658. But the happiness of this city doesn’t last forever the decline of the mughal era was again the declining era of the city Nader Shah defeated the Mughal army at the huge Battle of Karnal in February, 1739. After this victory, Nader captured and sacked Delhi . Delhi
Continued rebellions by the Marathas in the south, and the de-facto separation of a number of states (including Hyderabad and Bengal), weakened the state further. The Marathas reversed all Mughal territorial gains in the Deccan, and conquered almost all Mughal territory in central and north
. Mughals had thus become just the titular heads of India and remained so till 1857. Delhi
was raided by Ahmed Shah Abdali after the Third battle of Panipat. At the Battle of Delhi on 11 September 1803, General Lake's British forces defeated the Marathas. Delhi
Delhi passed to British control in 1857 after the First War of Indian Independence; the last Mughal Emperor Bahadur Shah Zafar II was exiled to Rangoon and the remaining Mughal territories were annexed as a part of British India.