 A year later, Jamaluddin went to Bukhara, and stayed there for three years with the slaves.Subsequently, Iltutmish's master Jamaluddin returned to Ghazni, where Mu'izz ad-Din's slave-commander Qutb al-Din Aibak noticed Iltutmish.Qutb al-Din, who had just returned from a campaign in Gujarat (c. 1197), sought Mu'izz ad-Din's permission to purchase Iltutmish and Tamghaj.