 In the court of ʿAlāʾ-ad-Dawla in Isfahan where he spent his last thirteen years or so, Avicenna enjoyed the appreciation that it was felt he deserved. His productivity never flagged, even during these years that were militarily and politically turbulent. He completed there his major work, The Cure (al-Shifāʾ, GS 5), and four further summae of philosophy, along with shorter treatises, and conducted a vigorous philosophical correspondence with students and followers in response to questions they raised about sundry points in logic, physics, and metaphysics. He died in 1037 in Hamadhan and was buried there. A mausoleum in that city today purports to be his. 