Ali Pasha Rizvanbegović

[2] Unsatisfied with the division of the captaincy, the three younger sons, Omer, Ali, and Hasan, ignited by the Muslim notables of Stolac, started the struggle against the older two brothers, Ahmed and Halil, in early 1808.

[5] The struggle ended with Mustafa's death in 1813 and after Mehmed, who became the sole captain, retreated to Hutovo and left the captaincy of Stolac to Ali.

[2] Ali Pasha was a heterodox Muslim, belonging to a sect led by certain Sheikh Sikirica from Visoko, who found a skull with a few strands of hair, and proclaimed it a saint.

Ali Pasha and his sons, as well as some other beys from Bosnia and Herzegovina visited Sikirica once a year for worship, which looked like a "small Kaaba".

He made Stolac a rallying point for the forces loyal to the Ottoman government – in conjunction with fellow loyalist Smail-aga Čengić, Captain of Gacko, who acted similarly in his own place.

In the early phase of the uprising, Ali-paša gave refuge in Stolac to the Ottoman governor Namik-paša, who had fled after the rebels' capture of Travnik.

With the Ottoman armies closing in on Sarajevo in a following months, Ali-paša Rizvanbegović advanced with his own forces, as did his fellow loyalist Smail-aga Čengić of Gacko.

Overwhelmed by the unexpected attack from behind, the rebel army was forced to retreat into the city of Sarajevo itself, where their leaders decided that further military resistance would be futile.

"As the new vizier of Herzegovina from 1832 to 1851, Ali-paša Rizvanbegović made special efforts to promote agriculture and attempted to recuperate the strong economy of the once famed Bosnia Eyalet.

During the administration of Ali Pasha Rizvanbegović olives, almonds, coffee, rice, citrus fruits and new vegetables became staple food sources.

[11] While Ali-paša Rizvanbegović hoped to establish a long-lasting hereditary viziership, whereby he would eventually transfer power to his descendants, this was at odds with the Ottoman government's plans for the region.

On orders from the Porte, Ali-paša was preemptively arrested and subsequently executed on 20 March 1851 by Omer Pasha in a humiliating and cruel manner.

Territories under the control of Ali-paša Rizvanbegović and his allies (in darker shade).
Herzegovinian reinforcements sent by Ali-paša Rizvanbegović eventually captured the Emperor's Mosque in Sarajevo and overthrew Bosnians disloyal to the Ottoman Sultan.
As a reward for confronting Husein Gradaščević and Bosnia Eyalet , Ali-paša Rizvanbegović was awarded his very own Pashaluk of Herzegovina by Mahmud II , it was later dissolved in the year 1851.