Buyid dynasty
The founder of the dynasty was a shepherd, Abu Shujā Badh ibn Dustak. He left his cattle, took up arms and became a valiant chief of war, obtaining popularity. When a member of the Buyid dynasty, Adud al-Dawla, who ruled Iraq, died in 983, Badh took Mayyāfāriqīn. He also conquered Diyarbakır, as well as a variety of urban sites on the northern shores of Lake Van.