# Ranjit Singh takes Lahore

- Date: Jul 7, 1799
- Place: [Lahore](https://sikhitihas.org/places/lahore/)
- Era: Gurus to the Khalsa Raj

Ranjit Singh drove the Bhangi sardars out of Lahore on 7 July 1799, welcomed by much of the city, and made it the capital of the Sikh state he would build.

**Who**: Ranjit Singh, then about eighteen, chief of the Sukerchakia misl; the three Sikh sardars who held Lahore, named by the Dawn columnist Majid Sheikh as Chet Singh, Sahib Singh and Mohar Singh; and the traders and townspeople of the city.

**What**: On 7 July 1799 Ranjit Singh drove the Bhangi rulers out of Lahore and became master of the capital. Majid Sheikh writes that the three sardars had taken over the city and begun a reign of terror, and that Lahore's Muslim traders sent Ranjit Singh desperate messages. He returned and surrounded the city, and a breach was made with the active help of Lahore's Muslims. The traders then threw open the gates of the walled city, and the gates of the Fort were opened the same day. The Encyclopaedia of Sikhism adds that the populace, largely Muslims and Hindus, welcomed him as their redeemer.

**Before the taking**: The Encyclopaedia of Sikhism says Shah Zaman, the King of Kabul and a grandson of Ahmad Shah Durrani, occupied Lahore in the autumn of 1796 and went home in January 1797, leaving a general with 12,000 soldiers to deal with the Sikhs. That general, whom the Sikhs called Shahanchi Khan, was killed when his force was routed near Ramnagar, in Ranjit Singh's own territory, and the encyclopaedia says the battle made Ranjit Singh the hero of the Punjab. Shah Zaman came back in the autumn of 1798 and took Lahore without a fight on 27 November 1798, while Ranjit Singh gathered a Sikh force at Amritsar. Ranjit Singh then beat an Afghan detachment, surrounded the city, cut off its supplies and burnt the crops around it. Citing two writers of the time, Sohan Lal Suri and Bute Shah, the encyclopaedia says he rode up to the Samman Burj of the Fort three times and dared the Shah to fight him hand to hand, and got no answer. News of trouble in Afghanistan then turned Shah Zaman home. Majid Sheikh, writing in Dawn, adds that the Kasur ruler Nizamuddin Khan sided with the invader and was beaten by Ranjit Singh's men at Shahdara, and that the three sardars moved into Lahore while Ranjit Singh was retaking his home town of Gujranwala.

**The day**: Majid Sheikh writes that Ranjit Singh camped in the baradari of Wazir Khan, behind where the Lahore Museum now stands, before the first breach was made. He writes that a royal salute of cannon followed the opening of the Fort's gates and that the whole city cheered. He calls the eighteen-year-old the first Punjabi to take Lahore since Mahmud of Ghazni in 1021.

**After**: The Encyclopaedia of Sikhism says Shah Zaman then tried to win back by diplomacy what he had lost in war, and offered Ranjit Singh a title. Ranjit Singh accepted and sent the Shah some cannon the Afghans had lost on their retreat; Majid Sheikh puts them at 15 guns. The success made other Sikh sardars jealous, chiefly the Bhangis, and in 1800 they joined Nizam ud-Din of Kasur and gathered their forces at the village of Bhasin, near Lahore. The encyclopaedia's entry on Baba Sahib Singh Bedi says he took Ranjit Singh's side and helped him defeat Gulab Singh Bhangi at Bhasin in March 1800, and that at the coronation in Lahore in April 1801 he placed the tilak, the mark of sovereignty, on Ranjit Singh's forehead.

**Where**: Lahore, the capital of the Punjab and now in Pakistan: the walled city and the Fort.

**Why it mattered**: Lahore became the seat of the Sikh government that Ranjit Singh built over the next forty years, and the taking of the city ended Bhangi misl rule in the capital. The Encyclopaedia of Sikhism describes him as master of Lahore from 1799 and says he then began a series of conquests that united the whole country north of the Sutlej under him. It credits his forty years of rule with giving the Punjab peace, stability and prosperity. Less than two years later, in April 1801, he was proclaimed Maharaja in the same city. The Lahore Darbar that ruled from here lasted until the British annexation of 1849, ten years after his death.

## Sources

1. [Ranjit Singh (1780-1839)](https://eos.learnpunjabi.org/RANJIT%20SINGH%20(1780-1839).html), *The Encyclopaedia of Sikhism (ed. Harbans Singh), Punjabi University, Patiala*
2. [Sahib Singh Bedi, Baba (1756-1834)](https://eos.learnpunjabi.org/SAHIB%20SINGH%20BEDI%20BABA%20(1756-1834).html), *The Encyclopaedia of Sikhism (ed. Harbans Singh), Punjabi University, Patiala*
3. [Punjab](https://eos.learnpunjabi.org/PUNJAB.html), *The Encyclopaedia of Sikhism (ed. Harbans Singh), Punjabi University, Patiala*
4. [Lahore Darbar](https://eos.learnpunjabi.org/LAHORE%20DARBAR.html), *The Encyclopaedia of Sikhism (ed. Harbans Singh), Punjabi University, Patiala*
5. [Harking Back: Lahore's Muslim traders and Ranjit Singh victory, by Majid Sheikh](https://apnaorg.com/wp/?p=82761), *Dawn, 30 October 2019 (APNA reprint)*

## Connections

- [Was Maharaja Ranjit Singh's rule a Khalsa Raj?](https://sikhitihas.org/debates/was-ranjit-singhs-rule-a-khalsa-raj/) (Debate)
- [The Sikhs take Lahore and strike coins in the Gurus' name](https://sikhitihas.org/events/1765-04-sikhs-take-lahore-and-strike-coins-in-the-gurus-name/) (Event)
- [Ranjit Singh proclaimed Maharaja; the Sarkar Khalsaji](https://sikhitihas.org/events/1801-04-ranjit-singh-proclaimed-maharaja-sarkar-i-khalsa/) (Event)
- [Treaty of Amritsar, 1809](https://sikhitihas.org/events/1809-treaty-of-amritsar-1809/) (Event)
- [British annexation of Punjab](https://sikhitihas.org/events/1849-03-british-annexation-of-punjab/) (Event)
- [Bhangi Misl](https://sikhitihas.org/orgs/bhangi-misl/) (Organisation)
- [Sukerchakia Misl](https://sikhitihas.org/orgs/sukerchakia-misl/) (Organisation)
- [Baba Sahib Singh Bedi](https://sikhitihas.org/people/baba-sahib-singh-bedi/) (Person)
- [Maharaja Ranjit Singh](https://sikhitihas.org/people/maharaja-ranjit-singh/) (Person)
- [Nizam ud-Din Khan of Kasur](https://sikhitihas.org/people/nizamuddin-khan-of-kasur/) (Person)
- [Rani Sada Kaur](https://sikhitihas.org/people/rani-sada-kaur/) (Person)
- [Zaman Shah Durrani](https://sikhitihas.org/people/zaman-shah-durrani/) (Person)
- [Lahore](https://sikhitihas.org/places/lahore/) (Place)
- [Punjab](https://sikhitihas.org/places/punjab/) (Place)

Last changed: 3 December 2026

Cite as: Sikhitihas. "Ranjit Singh takes Lahore." Last changed 3 December 2026. https://sikhitihas.org/events/1799-07-ranjit-singh-takes-lahore/
