Sharafkhan Bidlisi

Sharaf al-Din Khan b. Shams al-Din b. Sharaf Beg Bedlisi (Kurdish: شەرەفخانی بەدلیسی, "Şerefxanê Bedlîsî"; ) (949-1012/ 25 February 1543) was a medieval Kurdish Emir of the Emirate of Bitlis. But he is more known as a historian, writer and poet. He wrote exclusively in Persian. Born in the Garmrood village, in central Iran, between Arak and Qom, at a young age he was sent to the Safavid's court and obtained his education there.
He is the author of Sharafnama, one of the most important works on medieval Kurdish history, written in 1597. He created a good picture of Kurdish life and Kurdish dynasties in the 16th century in his works. Outside Iran and Kurdish-speaking countries, Sharaf Khan Bidlisi has influenced Kurdish literature and societies through the translation of his works by other scholars.
He was also a gifted artist, and a well-educated man excelling as much in mathematics and military strategy, as he did in history.
Early life.
Sharaf Khan Bidlisi was born on February 25, 1543, in the Markazi province, Iran in the Garmrood village, during the exile of his father. The Rojaki dynasty, which had ruled intermittently as an independent emirate from their capital of Bitlis since at least the 9th century, and therefore, he never took up the common tribal title of "Khan", preferring instead the royal title of emir or mir, "prince." He was most commonly known as, Mir Sharaf (Prince Sharaf). Later his family was taken under protection of the Safavid dynasty. He was schooled at Tahmasb's court, and wrote in 1596:
Bedlîsî speaks of his education entailing instruction in the Quran, readings in on the principles of the "shari'a", a piety and purity. Due to Shah Tahmasb's religious disposition, Bidlisi was introduced to religious scholars, who warned him against evil people, and instead encouraged friendship with the virtuous. And once Bidlisi attained maturity, he was thought the martial arts (sipahigira), archery, polo, racing, swordsmanship, and the precepts of chivalry – humanism and generosity.
In 1576 Tahmasb of the Safavids gives him the title the "Mir" of "Mirs"; appoints him leader of all Iranian Kurdish tribes. He accepts his title, but only two years later, "Sharafkhan" abandons his previous stand, and supports the Ottomans in their war against the Iranians, offering them 400 soldiers. In 1578, Sultan Murad III, the Ottoman Sultan, grants Sharafkhan the title of Emir and he becomes the "Mir" of the Emirate of Bitlis. Between 1578 and 1588, Sharafkhan virtually led all the Ottoman wars against the Persians. In 1597, Sharafkhan gave the authority of his dynasty to his son Šams-al-Dīn. 
Sharafnama.
He was thinking for a long time to write a book about Kurdish history, and finally in 1597 Sharaf Khan Bidlisi started his composition of his epic, "Sharafnama".The "Sharafnama" divides its history into four parts. The first one deals with the five Kurdish dynasties that have enjoyed status as royalty ("Saltant"): the Marwanids of Amed, the Hasanwayhids of Dinavar and Sharizur, the "Fadluyids" of the Great Lur, the princes of little Lur, and finally, Saladin the Great and the Ayyubids. The second part lists dynasties that have had coin struck and the "khutba" recited in their names. (The "Khutba" is a religious invacation pronounced at the Friday day prayers meeting that mentions the Prophet, the first four caliphs and the current rulers). The third part numbers the families of the hereditary governors, while the fourth details the history of the mirs of "Bitilis".