 He came to India from Afghanistan with the army of Shihab-ud-Din Ghuri in 1192 AD and started living permanently in Ajmer from 1195.Centuries later, with the support of Mughal rulers, his shrine became a place of pilgrimage.Akbar used to visit the shrine every year.