Muslims did not wish to gain only their political independence. They also wished to assert their own religious and cultural identity. From the 18th century onward Muslim reformers appeared upon the scene who sought to reassert the teachings of Islam and to reform society on the basis of Islamic teachings. One of the first among this group was Muhammad ibn 'Abd al-Wahhab, who hailed from the Arabian peninsula and died there in 1792. This reformer was supported by Muhammad ibn al-Sa'ud, the founder of the first Saudi state. With this support Muhammad ibn 'Abd al-Wahhab was able to spread his teachings not only in Arabia but even beyond its borders to other Islamic lands where his reforms continue to wield influence to this day.
In the 19th century lslamic assertion took several different forms ranging from the Mahdi movement of the Sudan and the Sanusiyyah in North Africa which fought wars against European colonizers, to educational movements such as that of Aligarh in India aiming to reeducate Muslims. In Egypt which, because of al-Azhar University, remains to this day central to Islamic learning, a number of reformers appear, each addressing some aspect of Islamic thought. Some were concerned more with law, others economics, and yet others the challenges posed by Western civilization with its powerful science and technology. These included Jamal al-Din al-Afghani who hailed originally from Persia but settled in Cairo and who was the great champion of Pan-Islamism, that is the movement to unite the Islamic world politically as well as religiously. His student, Muhammad 'Abduh, who became the rector of al-Azhar. was also very influential in Islamic theology and thought. Also of considerable influence was his Syrian student, Rashid Rida, who held a position closer to that of 'Abd al-Wahhab and stood for the strict application of the Shari'ah. Among the most famous of these thinkers is Muhammad Iqbal, the outstanding poet and philosopher who is considered as the father of Pakistan.