Context : Mahmud II died of tuberculosis - some say he was murdered - at the Esma Sultana Palace, Çamlıca, in 1839. 
Question : What medical condition did Mahmud II have at the end of his life?
tuberculosis