Muḥammad Ashraf 'Alī Thānvī (August 19, 1863 [05 Rabi' al-Thani 1280 AH]) – July 4, 1943 [17 Rajab 1362 AH]) (Urdu: مولانا اشرف علی تھانوی) was an Indian Islamic scholar and Sufi mentor of the Deobandi school of Islamic thought.His Fatwas and religious teachings were thought to be very authoritative even by many of his opponents. Thus many of his contemporaries also sought his advice and held him in high esteem. For example when the Indian scholar, historian and linguist, Sayyid Sulaiman Nadwi, wished to seek Islamic spirituality, he went to Thana Bhawan. Another Indian scholar, Abdul Majid Dariyabadi, did the same. Even Muhammad Iqbal once wrote to a friend of his that on the matter of Rumi's teachings, he held Maulana Ashraf Ali Thanwi as the greatest living authority. Ashraf Ali Thanvi was a strong supporter of the Muslim League. He maintained a correspondence with the leadership of All India Muslim League (AIML), including Muhammad Ali Jinnah. He also sent groups of Ulama to give religious advice and reminders to Mr. Jinnah.He and his pupils gave their entire support to the demand for the creation of Pakistan. During the 1940s, many Deobandi ulama supported the Congress but Ashraf Ali Thanvi and some other leading Deobandi scholars including Muhammad Shafi and Shabbir Ahmad Usmani were in favour of the Muslim League. Thanvi resigned from Deoband's management committee due to its pro-Congress stance.His support and the support of his disciples for Pakistan Movement were greatly appreciated by the leadership of AIML. This can be gauged from the fact that Pakistan became independent, its first flag hoisting in West Pakistan was done by Allama Shabbir Ahmad Usmani in the presence of Muhammad Ali Jinnah and Liaqat Ali Khan; while in East Pakistan, it was done by Allama Zafar Ahmad Usmani in the presence of Khwaja Nazimuddin.