Sultan
Mahmud II started the process of reforms in the Ottoman Empire with the ultimate goal of strengthening the central authorities and modernising the Ottoman state to follow the European trend. The abolishment of the
Spahi system and the
Janissaries was the beginning of the reforms, with ultimate goal to transforming the
theocratic Ottoman Empire into a
constitutional monarchy. The reforms also aimed at formal equality of all subjects before the law, regardless of their ethnicity or religion, as well as their equal obligations towards the state, regardless of their social status. |330x330px The Bosnian
ayans, as well as the Janissaries in Bosnia, resisted the reforms, for the reason that they wanted to keep their privileges and tax revenues and did not want to contribute manpower to the imperial army. They preferred to keep the status quo. The reforms meant the end of these privileges and the disappearance of their independence. Mahmud II managed to destroy such independent magnates in Bulgaria, southern Albania and
Anatolia. There were also emotional reasons for this resistance of the Bosnian ayans, who were religiously conservative. The reforms announced from
Istanbul were seen as "infidel" because they copied Europe in order to strengthen the empire and were seen as a threat to Islam. The view of the ayans was that the Ottoman rule and the Islamic faith can only be maintained if they retained power.
Janissaries' revolt in Sarajevo The first attempts at reform in Bosnia began in 1826. That year, Sultan Mahmud II introduced the reformed
Nizam military and effectively disbanded the Janissaries throughout the empire. However, the ayans in Bosnia protected the Janissaries and refused to implement the sultan's decree. The Janissaries revolted in Istanbul and were crushed by the imperial army. In
Sarajevo, after the decree on their disbandment was read on 20 July 1826, they gathered near
Emperor's Mosque, refused to acknowledge the newly appointed commander, and elected their existing leader
Ali Agha Ruščuklija. In order to gain support, the Janissaries organised the meeting of all of the Bosnian
kadis on 3 October 1826 and sent the Sultan a plead to maintain their unit in Bosnia, emphasizing their contribution to the defence of the Empire. Bosnian vizier
Mustafa Pasha Belenlija was dismissed because he failed to introduce order in the province, and was replaced by Abdurahman Pasha on 22 December 1826. Abdurahman Pasha was seated in
Zvornik, as it was the only location not controlled by the Janissaries. The newly appointed
vizier was greeted with discontent among the Bosnian ayans, since he prolonged his arrival to Bosnia as he was supposed to arrive in July 1826, but took office only in December 1826. Notwithstanding the opposition from the ayans, he also appointed the previous
vizier his
kaymakam, which never occurred previously in the province. The Bosnian Muslims widely shared the view that the military reform was the beginning of the collapse of the Ottoman Empire, and that after it collapses, the European Christians would persecute them to
Damascus, which was seen as a sign of the last days. Also, they feared that the Sultan will send them to the forthcoming
war against Russia to punish them because they often rebelled and that the
Principality of Serbia, seen as a Russian ally, will use the opportunity to take their lands and send them to slavery. The antireform movement amongst the Bosnian Muslims gathered all those who opposed the introduction of the Nizam military and they were especially opposed to joining the war against Russia. Abdurahman Pasha received an order in mid-December 1826 to finally end the revolt of the Janissaries, who enjoyed wide support among the Bosnian Muslims. The Ottoman military of 1,000, commanded by
Ali Pasha Vidajić, the captain of
Zvornik, finally crushed the Janissaries in February 1827. The help promised to the Janissaries from the ayans of
Foča,
Pljevlja,
Rogatica,
Višegrad,
Vlasenica,
Birča,
Tuzla,
Bijeljina,
Tešanj,
Zenica,
Travnik,
Skoplje,
Livno,
Mostar,
Gacko and
Nevesinje never arrived. The majority of the ayans remained neutral, and some of them, including
Husein Gradaščević and
Ali Bey Fidahić, as well as
Herzegovinian captains of
Klobuk,
Stolac and
Trebinje supported the Vizier. Immediately after their defeat, Abdurahman Pasha ordered the execution of several notables who supported them, including Ruščuklija. Some 300
beys from the regions of
Banja Luka,
Travnik,
Gradačac,
Tuzla and
Livno were imprisoned. By March 1827, Abdurahman Pasha managed to regain the whole of Bosnia under his control. In May 1827, Abdurahman Pasha managed to eliminate all the opposition to the military reform, while the first training of the reformed military was conducted in
Sarajevo. Abdurahman Pasha was dismissed and replaced by
Morali Namik Ali Pasha in August 1828. That year, the vizier's seat was moved from Travnik to Sarajevo. The disunity among the Bosnian ayans also contributed greatly to the Vizier's success.
Avdo Sućeska considers that the reason for the disunity of the ayans was in the sense of loyalty the Bosnian Muslims had towards the Ottoman Empire and the Sultan as well as the religious leader, the
Shaykh al-Islām. The ayan council was divided towards the reforms and split on a regional basis with Herzegovinian notables supporting the Sultan. Gradaščević rose as a head of the anti-reformist ayans, while those who opposed him were led by
Ali Pasha Rizvanbegović. Rizvanbegović was also joined by
Smail Agha Čengić of Stolac and
Hasan Bey Resulbegović of
Trebinje. The ayans of the region of
Posavina held a meeting in
Tuzla in 1830 and decided to rise a rebellion against the reforms, mainly because the Porte gave some of the territories of the
Sanjak of Zvornik to Serbia from which they felt threatened and considered that the Porte wasn't doing enough to protect them. ==Rising tide and early successes==