The family were descendants of the Sasanian king Bahram V Gur. A descendant of Bahram V bore the title of sur and ruled Sogdia probably during the sixth century. There were five members of the family bearing the title of sur, the fifth of the family was a certain Divashtich, who according to Sogdian and Arabic documents found in 1933, bore the titles of "Sogdian king", "ruler of Samarkand" and "ruler of Panjikant". In 722, Divashtich was defeated and killed by the Arabs in Zarafshan, and his son Tarkhun was taken as a prisoner of war to Iraq, where his family lived for three generations. In the fourth generation, a member of the family named Mikal ibn Abd al-Wahid, settled in Khorasan at the beginning of the ninth century, where his descendants continued to live, using the family nameMikal, which is derived from the latter. Mikal ibn Abd al-Wahid's sons, Muhammad ibn Mikal and Shah ibn Mikal, served as military commanders for the Tahirids in Baghdad, Ray and Nishapur, where Muhammad resided in, and had a son, named Abd-Allah Mikali. The latter served under the SaffaridAmr ibn al-Layth in Sistan, and then under his rebellious general Sebük-eri and finally as governor of Ahvaz under the caliphAl-Muqtadir. His son Abu'l-Abbas Ismail served as head of the chancery of the Samanids and as rais of Nishapur. He died in 973. He had three sons; one named Abu Muhammad Abd-Allah, who would obtain the offices of his father, another one named Abu Ja'far Mikali, and the last one named Abu'l-Qasim Ali, a military officer who fought with the Byzantines and the paganTurks in their steppes. After the fall of the Samanids, the Mikalids began serving the Ghaznavids, who were the new masters of Khorasan. A certain Mikalid nobleman named Hasanak Mikali, rose to high offices, and by 1024 became the vizier of the Ghaznavid ruler Mahmud of Ghazni. Mahmud later died in 1030, and a civil war shortly ensured between his two sons, the youngest one being Muhammad, and the oldest one being Mas'ud I. Hasanak, along with a Turkic magnate named Ali ibn Il-Arslan, supported Muhammad, and both expected that they would hold absolute power over the Ghaznavid state, while Muhammad would stay as a figurehead. However, Ali, including other Ghaznavid statesman, began to become more distant from Hasanak, and changed their adherence to Mas'ud I. Hasanak, however, continued to support Mohammad, but in the end was defeated and imprisoned by the latter. Through the efforts of Hasanak's opponent Abu Sahl Zawzani, Mas'ud then had charged Hasanak of infidelity, and had him executed on 14 February 1032. Another Mikalid named Sahib Husain Mikali, served as an administration and military officer under the Ghaznavids, but was captured by the Seljuq Turks during a battle. However, he later became the vizier of the Seljuq ruler Tughril. There were also outstanding scholars, poets, and arts benefactors from the Mikalid family. The family continued to be mentioned at the end of the 11th century, and thereafter disappears from sources.