Sikh Occupation of Delhi and Red Fort

The Sikh Misls were fighting against the Mughal Empire and the foreign invaders since the time of the Nader Shah's invasion of the Mughal Empire and the Indian Campaign of Ahmad Shah Durrani.Sikhs misls waged several wars against the invaders and the Mughal Empire which includes the following battles. After the conquest of Sirhind and killing of Mughal Governor Zain Khan Sirhindi, the Sikh Misls started raiding trans-yamuna areas bordering Delhi and forced the Rohillas to pay tributes to them.By 1764, Sikhs misls formed their grip over almost entire Punjab.The continuous raids to Delhi, later, resulted in the victory of Sikhs over Delhi.On 11 March 1783 Sikhs defeated the mughals and conquered Delhi. They entered the Red Fort hoisted the Sikh flag  (Nishan Sahib) and occupied Diwan-i-Am.
 * Liberation of Captives (1739)
 * Siege of Ram Rauni
 * Battle of Goharvar
 * Battle of Lahore (1759)
 * Liberation of Captives (1761).
 * Battle of Sialkot (1761).
 * Battle of Gujranwala (1761).
 * Battle of Kup or the Sikh genocide of 1762.
 * Battle of Amritsar,(1762)
 * Battle of Sialkot (1763)
 * Battle of Sirhind (1764).

Background
After the invasions and the defeat of Ahmad shah Durrani, the Sikhs got much military skills and they started raiding the areas near Yamuna such as Delhi, Meerut and Awadh. In 1764, Sikhs overran the territory of Najib-ud-daula (the Rohilla chief) and forced him to pay a tribute of 11 lakh rupees. The story of plunder was again repeated in April 1775, Baghel Singh with the help of two other Sikh sardars  (Rai Singh Bhangi) and  (Tara Singh Ghaiba) crossed Yamuna again and subdued the Rohillas but negotiated not only large sum of money as tribute but also hammered an alliance with Rohillas.The combined forces of Sikh army and Ruhillas, in 1776,  attacked the outskirts of Delhi from the south side and encircled Delhi. In the same year, the allies defeated the imperial mughal army near Muzaffarnagar. Baghel Singh established a Sikh military post in this region. At this time the northern part of Delhi was in the hands of Sikhs. The Mughals, the Rohillas, the English and the marathas all sought  Baghel Singh 's friendship.

Attack on Delhi
In April 1781, Mirza Shafi, a close relative of Mughal Prime minister, captured the Sikh military post at  Indri, India.Baghel Singh retaliated and attacked Shahabad thus covering his flank.Then, he marched with his 300 horses, 800 soldiers and two cannons all the way to Delhi.On 11 March, Sikhs defeated the mughals and conquered Delhi and Red Fort.

Aftermath
After capturing Delhi, he undertake the construction of all the historical Sikh Gurudwas in Delhi. These Gurudwaras are permanent monuments and are irrefutable evidence of Sikh rule over Delhi. Baghel Singh administered the city government so well that the Sikh rule was just loved by the citizens of Delhi. He installed a very fair tax and revenue structure and all the citizens of Delhi irrespective of their religion got justice.In Nov. When he expressed his desire to go to Amritsar to pay homage to  Darbar Sahib, the citizens were in panic that if he left Delhi they will again go under the yoke of tyrannous mughals.Therefore, a delegation of citizens came to him with this petition.S Baghel Singh assured them of law and order. He left a contingent of 30,000 Sikh soldiers and the army camp was called Tees Hazari.

The conditions of their retreat included the construction and protection of seven historical Gurudwaras in Delhi associated with ninth Sikh Guru Tegh Bahadur. Hence, the Sikhs proved that their desire to serve Gurus was greater than their desire to rule Delhi.

Why Sikhs vacated Delhi
There were many reasons why Sikhs vacated Delhi and Red Fort. The reasons were as follows :
 * Sardar Baghel Singh had a small army (about 4,000) which could not control the civil population of Delhi.
 * Baghel Singh was an expert fighter but he had no administrative experience.
 * When his misl invaded Delhi, his territories in Gurdaspur and Jalandhar were being attacked by other Sikhs Misls.
 * Baghel Singh and Shah Alam II entered in an agreement that 37.5% of the tax of Delhi would be regularly sent to Baghel Singh and in return, he must ensure that the Sikhs would not attack Delhi again.
 * Baghel Singh's ultimate aim was to construct Gurudwaras for the Sikh Gurus (in Delhi) than ruling Delhi.