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 Janisaries 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 Janisaries in February 1827. The help promised to the Janisaries 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