Tihrani first appears during the late reign of the
Timurid ruler
Shah Rukh (), under whom he served in the provincial
divan. He was in Shah Rukh's camp at
Ray at the time of the latter's death in 1447. Tihrani was later in Isfahan at the time of
Sultan Muhammad's murder at the instigation of his brother
Babur Mirza. The city was soon captured by the
Qara Qoyunlu leader
Jahan Shah (), who appointed his son Muhammadi Mirza as its governor. Tihrani soon entered into his service, and was appointed an administrator. He was later part of the retinue of Muhammadi Mirza and Jahan Shah during their expeditions to
Damghan and
Khurasan in 1457–1458. He wrote down the terms of the peace treaty between Jahan Shah and the Timurid ruler
Abu Sa'id Mirza (), which was signed by the end of the very year. It is unclear if Tihrani also accompanied Jahan Shah during his battle against the
Aq Qoyunlu leader
Uzun Hasan () in 1466/7, which resulted in the defeat of the former. It is, however, certain that Tihrani resided in
Qazvin during the war between Uzun Hasan and Abu Sa'id Mirza, albeit the reason behind it is obscure. realm under
Uzun Hasan () in 1478 During his stay in Qazvin, Tihrani encountered Mawlana Shams al-Din, an emissary of Sayyidi Ali Beg, governor of
Shiraz, who was en route to
Ardabil to submit to Abu Sa'id Mirza. However, Tihrani talked out of him of it; he believed that Abu Sa'id Mirza would eventually be defeated by the Aq Qoyunlu. It turned out to be correct; Abu Sa'id Mirza was soon defeated and killed by the Aq Qoyunlu. Tihrani was subsequently summoned by Uzun Hasan to his court at Ardabil, and entered into his service in April 1469, becoming one of his close companions. This invitation shows that Uzun Hasan admired such distinguished figures. It was not restricted to Tihrani, other figures that joined the Aq Qoyunlu, including
Qazi Isa Savaji and Amir Zahir al-Din Ibrahim Shah, who together with Tihrani were the closest to the court and frequently transmitted the issues and needs of the people. Tihrani played a vital role in shaping Uzun Hasan's royal image through diplomatic correspondence. Using his previous experience as an official of the Timurids, he incorporated their royal ideology into that of the Aq Qoyunlu. Some of his writings are cited in various sources, including a document by Uzun Hasan in Husayn Harawi's
Jami al-insha, which reports the appointment of
Yadgar Muhammad Mirza to the governorship of Khurasan. The author of the document was Tihrani, albeit he does not mention it. Tihrani also wrote the
Arabic letter that Uzun Hasan sent to
Qaitbay, the
Mamluk ruler of
Egypt, and another in Persian to the
Qaramanid ruler
Pir Ahmad Qaramani. As a result of his secretarial prowess, his reputation expanded as far as
India and beyond, even resulting in an invitation to
Deccan by Sadr Jahan, which he turned down. Like the date of his birth, Tihrani's date of death is uncertain. His seal is marked in a scroll from 1481; he most likely died not long after. == Works ==