section_path: History/Political advancement/Sikh confederacy and the rise of the Khalsa
section_name: Sikh confederacy and the rise of the Khalsa
paragraph_text: Sikh confederacy and the rise of the Khalsa
  
  Guru Gobind Singh inaugurated the Khalsa (the collective body of all initiated Sikhs) as the Sikh temporal authority in the year 1699. It created a community that combines its spiritual purpose and goals with political and military duties. Shortly before his death, Guru Gobind Singh proclaimed the Guru Granth Sahib to be the ultimate spiritual authority for the Sikhs.
  
  The Sikh Khalsa's rise to power began in the 17th century during a time of growing militancy against Mughal rule. The creation of a Sikh Empire began when Guru Gobind Singh sent a Sikh general, Banda Singh Bahadur, to fight the Mughal rulers of India and those who had committed atrocities against Pir Buddhu Shah. Banda Singh advanced his army towards the main Muslim Mughal city of Sirhind and, following the instructions of the guru, punished all the culprits. Soon after the invasion of Sirhind, while resting in his chamber after the Rehras prayer Guru Gobind Singh was stabbed by a Pathan assassin hired by Mughals. Gobind Singh killed the attacker with his sword. Though a European surgeon stitched the guru's wound, the wound re-opened as the guru tugged at a hard strong bow after a few days, causing profuse bleeding that led to Gobind Singh's death.
  
  After the Guru Gobind's death, Banda Singh Bahadur became the commander-in-chief of the Khalsa. He organised the civilian rebellion and abolished or halted the Zamindari system in time he was active and gave the farmers proprietorship of their own land. Banda Singh was executed by the emperor Farrukh Siyar after refusing the offer of a pardon if he converted to Islam. The confederacy of Sikh warrior bands known as misls emerged, but these fought between themselves. Ranjit Singh achieved a series of military victories and created a Sikh Empire in 1799.
  
  The Sikh empire, with its capital in Lahore, spread over almost 200,000 square miles (520,000 square kilometres) comprising what is now northwestern Indian subcontinent. The Sikh Empire entered into a treaty with the colonial British powers, with each side recognizing Sutlej River as the line of control and agreeing not to invade the other side. Ranjit Singh's most lasting legacy was the restoration and expansion of the Harmandir Sahib, most revered Gurudwara of the Sikhs, with marble and gold, from which the popular name of the " Golden Temple " is derived. After the death of Ranjit Singh in 1839, the Sikh Empire fell into disorder. Ranjit Singh had failed to establish a lasting structure for Sikh government or stable succession, and the Sikh Empire rapidly declined after his death. Factions divided the Sikhs, and led to Anglo-Sikh wars. The British defeated the confused and demoralised Khalsa forces, then disbanded them into destitution. The youngest son of Ranjit Singh, named Duleep Singh, ultimately succeeded, but he was arrested and exiled after the defeat of the Sikhs.