# Mahmud Jan Daylami

Sharaf al-Din Shah-Mahmud Jan Daylami Qazvini (Persian: شرف الدین شاه-محمود جان دیلمی قزوینی), better known as Mahmud Jan Daylami (محمود جان دیلمی) was an Iranian bureaucrat from the Daylami family, who occupied high offices under the Aq Qoyunlu and the Safavids.

## Biography

A native of Qazvin, Mahmud Jan was a member of the Daylami family from the regions of Persian Iraq and Gilan. In his early career, Mahmud Jan served as administrator of the financial affairs of Persian Iraq and Fars under the Aq Qoyunlu ruler Sultan Khalil (r. 1478). During the reign of Sultan Khalil's brother and successor Ya'qub Beg (r. 1478–1490), the powerful chief military judge and chief financial minister, Qazi Isa Savaji utilized his power by appointing his friends and relatives to high offices, including Mahmud Jan, who was his brother-in-law and thus received the offices of vazir (finance officer) and mushrif (inspector) of the royal council. Mahmud Jan's son (Qazi Isa's nephew) Najm al-Din Mas'ud Savaji was made the parvanachi (royal secretary). The contemporary Timurid statesman and writer Ali-Shir Nava'i refers to Mahmud Jan as one of the leading figures under Ya'qub. Mahmud Jan is included amongst the figures mentioned in the Munsha'at of Qadi Husayn Maybudi, a collection of 112 letters to prominent political and intellectual figures of the Aq Qoyunlu and Timurid realms.
While Mahmud Jan along with Shaykh Ali Savaji (Qazi Isa's brother) were assessing and seizing tax-free places in the southern city of Shiraz, Ya'qub became severely ill and died in December 24, 1490 in the Transcaucasian region of Qarabagh. Following his death, the Aq Qoyunlu fell into a state of succession wars, thus leading to its decline. The governor of Shiraz had Shaykh Ali captured and taken to the capital of Tabriz, where he was tortured. Four days following Ya'qub's death, Qazi Isa was captured and afterwards hanged. Najm al-Din Mas'ud managed to escape for a short while, until he was as well captured and executed. Mahmud Jan escaped the fate of his associates by fleeing to Qazvin. During this period, he moved in and out of his government posts. After the Aq Qoyunlu prince Rustam Beg Bayandur (r. 1492–1497) had captured Tabriz in May 1492, Mahmud Jan was summoned to serve as his financial manager.
By 1497, Rustam Beg found himself largely deserted by his subjects, and was soon deposed and killed by his cousin Gövde Aḥmad, who had received reinforcements by the Ottoman Empire. In 1499, Mahmud Jan was once more recalled by another Aq Qoyunlu ruler, Sultan Khalil's son Alvand Beg (r. 1497–1504/5), who had captured Tabriz with the backing of the Bayandur and Mawsillu chieftains. Mahmud Jan appears in records as a high-ranking administrator under Alvand Beg. In 1502, the Safavid shah (king) Ismail I (r. 1501–1524) appointed Mahmud Jan as his vizier to jointly serve with Amir Zakariya, another former Aq Qoyunlu bureaucrat. Mahmud Jan's former colleague Idris Bitlisi soon contacted him, asking him to help as a mediator with Ismail I, whom he had fallen out with. In 1507, as a part of a larger rearrangement of the bureaucracy, Mahmud Jan and Amir Zakariya were replaced with Najm-e Sani.