The Bushati family initallt dominated the Shkodër region through a network of alliances with various highland tribes and later expanded in huge areas in today's Montenegro, Northern Albania, Macedonia, southern Serbia. Kara Mahmud Bushati attempted to establish a de juro independent principality and expand the lands under his control by playing off Austria and Russia against the Sublime Porte. In 1785, Kara Mahmud's forces attacked Montenegrin territory, and Austria offered to recognize him as the ruler of all Albania if he would ally himself with Vienna against the Sublime Porte. Seizing an opportunity, Kara Mahmud sent the sultan the heads of an Austrian delegation in 1788, and the Ottomans appointed him governor of Shkodër. When he attempted to wrest land from Montenegro in 1796, however, he was defeated and killed by an ambush in northern Montenegro. Kara Mahmud's brother, Ibrahim Bushati, cooperated with the Sublime Porte until his death in 1810, but his successor, Mustafa Pasha Bushati, proved to be recalcitrant despite participation in Ottoman military campaigns against Greek revolutionaries and rebel pashas. He cooperated with the mountain tribes and brought a large area in Balkans under his control like Kara Mahmud Bushati.