[7] Meanwhile Mahmud successfully led an Army against Tribesmen of the Zadrima region that were revolting and collaborating with Ahmet Kurt Pasha against the Bushatlis.
[7] At the same time Ahmet Kurt Pasha lost a great source of power and influence in the region, when he was dismissed as the governor of the Vlora and Durres districts.
Furthermore complete Anarchy broke out in the Pashalik of Berat, when Ibrahim Beg (Mahmud's Father in Law) revolted in Tirana against Ahmet Kurt Pasha.
After re-establishing Shkodran influence in Kavaja, Mahmud would march to Kruja to eliminate the Toptani family, which he viewed as a local threat.
He raided the town and set more than 100 houses on fire but avoided a general attack on the castle of Kruja, where the Toptani family fortified themselves, fearing this could cause a conflict between him and the central government.
For this reason, he withdrew back to Shkodra, waiting for an official decree that could permit him to eliminate the Toptanis and thus putting an end to the anarchy and to the influence of Ahmet Kurt Pasha in central Albania.
[7] The siege of Tirana began in February and lasted for two months, resulting in Ibrahim Beg's surrender due to a shortage of provisions.
[9] During the Attack on Montenero in 1785, guvernadur Jovan Radonjić saw Mahmud Pasha's army across Bjelica, he set his own house on fire and fled to Venetian territory.
[10] Mahmud Pasha settled the promised war gift; he gave Milić and knez Martinović two flasks filled with Ottoman copper coins, and 10 ducats each for the service they had done for him.
The conflict between them was ignited in March 1785 when Mahmud arrested two Venetian captains of the Ivanovich-Dabinovich company for violating the ronda system and importing wheat, which resulted in a punishment by the governor of Shkodra.
As a partner in the company, Kurd Ahmed Pasha responded by closing the ports under his authority to the Dulcignote fleet, openly challenging Mahmud.
Mahmud had initially postponed dealing with these issues due to the Montenegro campaign but immediately started planning an attack on the two pashas upon his return.
Ahmet Kurt Pasha mobilized about fifteen thousand troops inside the city of Berat, aware of the risky situation.
The Bushatlis dispatched the army to Southern Albania and Mahmud decided to neutralize Ahmet Kurt Pasha and his allies, by attacking them from all sides.
He accepted the proposal, however, upon learning that they wanted to hand his lands to Montenegro, he rejected their offers in 1788, and beheaded the delegation, sending their heads as trophies to the Ottoman Sultan who pardoned him for his quarrels with the local Pashas.
[13] However, by annexing the Sanjak as well as large parts of Montenegro and by instituting military and political reforms in his state without permission from the Porte, the Ottomans sent an expedition into his realm and besieged Scutari, which was garrisoned by his most faithful men.
[14] Kara Mahmud's death in 1796 came just as he was embarking on his most ambitious plan of all, a conquest of much of the western Balkans as an independent ally of the revolutionary French army.
Ibrahim served as Beylerbey of Rumelia and played an important role on ending the First Serbian Uprising led by Karađorđe.