 During al-Qadir's Caliphate, Mahmud of Ghazni looked after the empire.Mahmud of Ghazni, of Eastern fame, was friendly towards the Caliphs, and his victories in the Indian Empire were accordingly announced from the pulpits of Baghdad in grateful and glowing terms.Al-Qadir fostered the Sunni struggle against Shiʿism and outlawed heresies such as the Baghdad Manifesto and the doctrine that the Quran was created.