Blunt, Jane Digby and Sir Richard Burton, were close with Abdul Qadir al Jazairi (1808–1883), an Algerian Islamic scholar, Sufi and military leader. In 1864, the Lodge "Henry IV" extended an invitation to him to join Freemasonry, which he accepted, being initiated at the Lodge of the Pyramids in Alexandria, Egypt. Blunt had supposedly become a convert to Islam under the influence of al-Afghani, and shared his hopes of establishing an Arab Caliphate based in Mecca to replace the Ottoman Sultan in Istanbul. When Blunt visited Abdul Qadir in 1881, he decided that he was the most promising candidate for "Caliphate," an opinion shared by Afghani and his disciple, Mohammed Abduh.