 Baha' ud-Din became the head of a [[madrassa]] (religious school) and when he died, Rumi, aged twenty-five, inherited his position as the Islamic molvi.One of Baha' ud-Din's students, Sayyed Burhan ud-Din Muhaqqiq Termazi, continued to train Rumi in the [[Shariah]] as well as the [[Tariqa]], especially that of Rumi's father.For nine years, Rumi practised Sufism as a disciple of Burhan ud-Din until the latter died in 1240 or 1241.