When India rebelled in 1857 against the foreign Company's occupation, now referred to as the First War of Indian Independence, the Saharanpur and the present-day Muzaffarnagar Districts were part of that uprising. The centre of freedom fighters' operations was Shamli, a small town in the Muzaffarnagar region which was liberated for some time. After the uprising failed, British retribution was severe. Death and destruction were particularly directed against Muslims of the region, whom the British considered as the main instigators of the rebellion; Muslim society was devastated beyond recognition. When social reconstruction started, the cultural and political history of Muslims began to revolve around Deoband and Aligarh. Maulana Muhammad Qasim Nanotvi and Maulana Rashid Ahmad Gangohi, both proponents of the reformer Shah Waliullah's ideology for social and political rejuvenation, established a school in Deoband in 1867. It found popularity and global recognition as the Darul Uloom. Its founders' mission was twofold: to raise and spread a team of scholars able to awaken the religious and social consciousness of Muslims through peaceful methods and to make efforts, through them, to educate Muslims in their faith and culture; and to bring about a feeling of nationalism and national unity by promoting the concept of Hindu-Muslim unity and a united India. Muslim scholars in the city of Saharanpur were active supporters of this ideology and went on to establish the Mazahirul Uloom Saharanpur theological seminary six months later.