Guru Gobind Singh Ji in Oct 1708 deputed his disciple Banda Singh Bahadur Ji to lead the Khalsa in an uprising against the Mughals. Banda Singh Bahadur Ji first established a Sikh kingdom and then brought in the Land reforms in the form of breaking up large estates and distributing the land to peasants. He and his comrades were eventually defeated and executed, but he became an icon among the Sikhs. After a long exile the Khalsa regrouped under Nawab Kapur Singh, who gathered local Khalsa leaders and created "Dal Khalsa", a coalition army. The Dal Khalsa fought against the Mughals and the Afghans, eventually resulting in the establishment of a number of small republics called misls (autonomous confederacies) and later in the formation of the Sikh Empire.