Background
Ali was born in 1828 in Gusna (Gusinje), to landowner Hasan-bey Şabanagaj.
Ali was born in 1828 in Gusna (Gusinje), to landowner Hasan-bey Şabanagaj.
He finished Turkish-language school in medresa in Peć and military school in Istanbul.
He governed, as an Ottoman kaymakam (sub-governor), an area in what is today eastern Montenegro around Plav and Gusinje. He was commonly known as Ali Pasha of Gusinje (Albanian: Ali Pasha Gucia, Serbian: Али-паша Гусињски/Ali-paša Gusinjski). He was the leader of the Albanian irregular troops of the League of Prizren against the Principality of Montenegro at the Battle of Novšićest
In 1845 Ali was appointed as kaymakam (sub-governor) of Gusinje, succeeding his father on this position.
Ali Pasha was one of its founders and military commanders in the region of Plav and Gusinje. He was one of the commanders of irregulars mobilized by the League against the Montenegrin forces in the Battle of Novšiće and later against the forces of Ottoman Empire.
In the early phases of the attack against Mehmed Ali Pasha he commanded the volunteer troops that blocked the routes from Đakovica to the Ottoman-Montenegrin border. He was also the leader of the Albanian troops of the League of Prizren against the Principality of Montenegro at the Battle of Novšićest
After the irregulars of the League of Prizren were crushed by the Ottomans in 1881, Ali Pasha of Gusinje was arrested.
He was released after the Sultan gave general amnesty and appointed on the position of mutesarrif of the Ottoman Sanjak of İpek because he did not object the Ottoman rule and maintained a close connection with the Porte throughout the conflict being more concerned to prevent Montenegro to capture Plav and Gusinje. In 1881, during his visit to Istanbul, he was promoted to the rank of beylerbey. Ali Pasha was assassinated in the Rugova Canyon in 1889, organized by fellow Albanian nationalist Haxhi Zeka.
In the Albanian national epic poem (English: Highland Lute) Ali Pasha of Gusinje is presented as a blazing hero and is the central figure of the 8th canto and one of the important figures of the 9th canto.