Ranjit Singh (c. 13 November 1780 – 27 June 1839) was the founder and the first maharaja of the Sikh Empire, ruling from 1801 until his death in 1839.
Born to Maha Singh, the leader of the Sukerchakia Misl, Ranjit Singh survived smallpox in infancy but lost sight in his left eye. At the age of ten, he fought his first battle alongside his father. After Maha Singh died in his early teenage years, Ranjit Singh became leader of the Misl. Ranjit Singh was the most prominent of the Sikh leaders who opposed Zaman Shah, the ruler of Durrani Empire, during his third invasion. After the retreat of Zaman Shah in 1799, he captured Lahore from the Sikh triumvirate which had been ruling the city since 1765. At the age of 21, he was formally crowned at Lahore.
Before his rise, the Punjab had been fragmented into a number of warring Sikh, Muslim, and Hindu states. A large part of Punjab was under direct Durrani control. By 1813, Ranjit Singh had successfully annexed the Sikh misls and taken over the local kingdoms; the following decades saw the conquest of Durrani Afghan-ruled territories of Multan, Kashmir and Peshawar into his expanding Sikh Empire. Ranjit Singh established friendly relations with the British.
During his reign, Ranjit Singh introduced military reforms, structural changes in administration, and modernisation. His Khalsa army and government included Sikhs, Muslims, Hindus, and Europeans. His legacy includes a period of Sikh cultural and artistic renaissance, including the rebuilding of the Harmandir Sahib in Amritsar as well as other major gurdwaras, such as the Takht Sri Patna Sahib and the Hazur Sahib Nanded under his sponsorship despite being located outside of his realm. He also founded the Order of the Propitious Star of Punjab in 1837. Ranjit Singh was succeeded by his son Kharak Singh after his death in 1839.
Ranjit Singh was born in a Sandhawalia Jat Sikh family on 13 November 1780 to Maha Singh and Raj Kaur in Gujranwala, Punjab (present-day Punjab, Pakistan). His mother Raj Kaur was the daughter of Sidhu Jat Sikh ruler Raja Gajpat Singh of Jind. Upon his birth, he was named Buddh Singh after his ancestor who was first in line to take the Amrit Sanchaar. The child's name was changed to Ranjit (literally, "victor in battle") Singh ("lion") by his father to commemorate his army's victory over the Chattha chief Pir Muhammad.
Singh contracted smallpox as an infant, which resulted in the loss of sight in his left eye and a pockmarked face. He was short in stature, unattractive, never schooled, and did not learn to read or write anything beyond the Gurmukhi alphabet. However, he was trained at home in horse riding, musketry and other martial arts.
In 1792 at age 12, his father died and Ranjit Singh became the minor head of the Sukerchakia Misl. He then inherited his ancestral Sukerchakia misl estates and was raised by his mother Raj Kaur, who, along with Lakhpat Rai, also managed the estates. The first attempt on his life was made when he was 13, by Hashmat Khan, but Ranjit Singh prevailed and killed the assailant instead. At age 18, his mother died and Lakhpat Rai was assassinated, and thereon he was aided by his mother-in-law from his first marriage. He succeeded to the throne in 1799 after removing his mother as regnant by putting her to death. The young Ranjit Singh formed relations with the Kanhaiya and Nakkai misls and would consolidate his territory.
Ranjit Singh's fame grew in 1797, at age 17, when the Durrani Shah Zaman attempted to bring Panjab into his control through his general Shahanchi Khan and 12,000 soldiers. The victory in the 1798 battle of Amritsar gained Ranjit Singh recognition. Ranjit Singh did not resist Zaman Shah when he entered Lahore in 1798. Blocked off all food and supplies, and burnt all crops and food sources that could have supported the Afghan army, which retreated to Afghanistan.
In 1799, Ranjit Singh leading an army of 25,000, supported by another 25,000 soldiers led by his mother-in-law Rani Sada Kaur of Kanhaiya misl, attacked the region controlled by Bhangi Sikhs centered around Lahore. The Bhangis escaped, marking Lahore as the first major conquest of Ranjit Singh. The Sufi Muslim and Hindu population of Lahore welcomed the rule of Ranjit Singh. In 1800, the ruler of the Jammu region ceded control of his region to Ranjit Singh.
In 1801, Ranjit Singh was coronated at a formal investiture ceremony carried out by Baba Sahib Singh Bedi — a descendant of Guru Nanak. On the day of his coronation, prayers were performed across mosques, temples and gurudwaras in his territories for his long life. Ranjit Singh called his rule "Sarkar Khalsa", and his court "Darbar Khalsa". He ordered new coins to be issued in the name of Guru Nanak named the "NanakShahi" ("of the Emperor Nanak").
In 1802, Ranjit Singh, aged 22, took Amritsar from the Bhangi Sikh misl, paid homage at the Harmandir Sahib temple, which had previously been attacked and desecrated by the invading Afghan army, and announced that he would renovate and rebuild it with marble and gold.
On 1 January 1806, Ranjit Singh signed a treaty with the British officials of the East India Company, in which he agreed that his Sikh forces would not attempt to expand south of the Sutlej River, and the Company agreed that it would not attempt to militarily cross the Sutlej River into the Sikh territory.
In 1807, Ranjit Singh's forces attacked the Muslim-ruled principality of Kasur and, after a month of fierce fighting, defeated the Kheshgi chief Qutb-ud-Din, thus expanding his empire northwest towards Afghanistan. In the same year he also annexed the Sial-ruled Jhang.
The most significant encounters between the Sikhs in the command of the Maharaja and the Afghans were in 1813, 1823, 1834 and 1837. In 1813, Ranjit Singh's general Mohkam Chand led the Sikh forces against the Afghan forces of Shah Mahmud led by Fateh Khan Barakzai. The Afghans lost their stronghold of Attock Fort in that battle.
In 1813–14, Ranjit Singh's first attempt to expand into Kashmir, which was being governed by Azim Khan, failed. In 1819 at the Battle of Shopian, he successfully defeated the Afghan rulers and annexed Kashmir Valley, stretching his rule into the north and the Jhelum valley, beyond the foothills of the Himalayas, along with a yearly revenue of seventy lakh rupees. Diwan Moti Ram was appointed governor of Kashmir.
In 1818, Darbar's forces led by Kharak Singh and Misr Dewan Chand occupied Multan, killing Nawab Muzaffar Khan and defeating his forces, which ended Afghan influence in Punjab. The whole Bari Doab came under his rule with that conquest. With the defeat of the Nawab of Mankera in 1821, the entire Sind Sagar Doab came under subjugation by the Sikhs. In 1823, the Yusufzai Pashtuns fought the army of Ranjit Singh north of the Kabul River.
In 1834, Mohammed Azim Khan once again marched towards Peshawar with an army of 25,000 Khattak and Yusufzai tribesmen in the name of jihad, to fight against Ranjit Singh. The maharaja defeated the forces. Yar Mohammad Khan was pardoned and was reinvested as governor of Peshawar with an annual revenue of Rs one lac ten thousand to Lahore Darbar.
In 1835, the Afghans and Sikhs met again at the Standoff at the Khyber Pass; however, it ended without a battle. In 1837, the Battle of Jamrud, became the last confrontation between the Sikhs led by him and the Afghans, which displayed the extent of the western boundaries of the Sikh Empire.