Notwithstanding the high pressure system adopted by the Sultan, the spirit of rebellion was still rife, and it manifested itself on the first opportunity that occurred.

The Machiavellian policy of endeavouring to hold both the Servians and Bosnians in check, by pitting the one against the other, was of doubtful expediency; and, as the event proved, tended materially to weaken the imperial cause by depriving it of the aid of the Bosnian irregulars, who had acquired a name for reckless daring second to none. The outbreak of the Russian war was the signal for another attempt to obtain the independence of which Abdurahim had robbed them. At this juncture, too, they displayed the mixture of violence and cunning, so essentially the character of barbarous nations.

From every castle and town, the troops marched to the Eagle's Field, Orlovopolie, close by Bielina, their appointed rendezvous. The Vizier intended soon to repair thither with forces from Serayevo. Whilst preparing to do so, it happened that the people of Visoko, an unimportant place about six German miles from Serayevo, arrived before that capital, instead of marching direct to Orlovopolie, as they should have done. The Vizier sent out his Kiaia, and some of the principal inhabitants of the city, to call them to account for the unauthorised change in their line of march. A Kapidji Bashi, who had just arrived from Constantinople, accompanied the mission, and gave it still more importance; but it was unquestionably a concerted scheme amongst the leading men of Visoko and Serayevo. Thousands of inhabitants had already gone, many no doubt from mere curiosity—for it was Friday, a day on which the Turks do not work—but others with a distinct purpose. When the mission angrily demanded that the force should march off forthwith to the appointed place, some poor inhabitants of Visoko stepped out of the ranks and declared that, without money, they were not in a position to proceed a step farther; that even only to equip themselves, and march as far as they had already arrived, some of them had been obliged to sell their children. The Kapidji Bashi and the Kiaia thought that such language was not to be borne. Without hesitation, therefore, in accordance with the principles of Turkish justice, they ordered their followers to seize the speakers, to take them away, and behead them. The order, however, was not so easy of execution. 'Help, true believers in the Prophet!' exclaimed the men; 'help, and rescue us.' All seized their weapons, the comrades of the prisoners as well as the inhabitants of Serayevo, who were privy to the scheme, and those who were hurried along by their example. The Kapidji Bashi and the Kiaia had not time to mount their horses, but were obliged to run to the city on foot, with bullets whistling after them. The furious armed multitude arrived there with them. The Vizier's force, about two thousand strong, attempted for a while to stem the torrent. They tried to stand their ground wherever they found a position, such as a bridge, a mosque, or a house, but were far too weak to maintain it. Only a small number had time to retire into the fortress, where the Vizier was, and thence they fired with the few cannon they had on the lower town. But the Bosnians, with their small arms, did far more execution, singling out their enemies, and bringing them down with sure aim. The fighting continued for three days. At last Abdurahim found himself compelled to think of his own safety. The Bosnians, who found themselves victorious, would gladly have refused him leave to retire; but the older and more experienced among them, satisfied with the success they had obtained, persuaded the young people to let him go. On the fourth day, a Thursday in July 1828, Abdurahim marched away. He took the road to Orlovopolie, being allowed to take with him the cannons he had brought. There, however, he found that the spirit of disaffection had gained such head, that nearly all the soldiers, whom he had expected to find, had dispersed and gone to their homes. He thereupon repaired to Travnik, and was shortly afterwards replaced by another Vizier of milder temper.

The state of the empire now appeared more settled, both in its domestic and foreign relations, the peace of Adrianople having at any rate saved the capital from fear of an attack. What success the Sultan might have had in his endeavours to consolidate his rule in Bosnia, we are unable to judge; since he found an antagonist to every species of reform in Mustapha Pacha of Scutari, commonly known as Scodra Pacha, the most mischievous, as well as the most powerful, of all the provincial magnates since the fall of Ali Pacha. Young, warlike, and of good descent, he constituted himself the champion of hereditary privileges, and as such virtually threw down the gauntlet to his imperial master. Open rebellion, however, was not the plan which he proposed to himself by which to attain the object dearest to his heart—the re-embodiment of the Janissaries, and the establishment of the old order of things. To this end he consented, in 1823, to make a demonstration against the Greek rebels, but took very good care not to render too much service to the cause which he espoused. Thus, too, when he marched in the autumn of 1828 to the vicinity of the Danube, at the head of an army of 25,000 irregulars, it was not with the intention of attacking the Russians, but rather under the expectation that the necessities of the Sultan would afford him an opportunity of procuring the re-establishment of those 'Prætorian guards of Turkey.' The arrogant pretensions of Scodra Pacha were very strongly exemplified in the attitude which he assumed at the close of the campaign of 1829. Having in the first instance shown much dilatoriness in entering the field, he remained inactive near Widdin during the latter part of 1828 and the commencement of 1829, when, by operating in the rear of the Russians, he might have been most useful to the Turkish Seraskier. The treaty of peace, however, had been signed, and forwarded for ratification to Russia, when Scodra Pacha suddenly electrified both parties by objecting to its terms, and announcing his intention of continuing the war. He even marched to Philippopolis, whence he sent a message that he would arrive at Adrianople within eight days. This naturally caused Marshal Diebitsch some anxiety, since he was unaware of the Pacha's real policy, and believed him to be sincere in his protestations of vengeance against the invaders. A hasty summons was therefore sent to General Geismar, who consequently crossed the Danube at Rachova; and having turned, and subsequently forced, the Pass of Anatcha in the Balkans, easily defeated the Pacha, who made but small resistance. This and the approach of General Kisselef from Schumla put a finishing stroke to hostilities, and Scodra returned home to brood over the ill-success of his undertaking, and plan farther means of working mischief to the hated Mahmoud.

The opportunity soon presented itself. Having succeeded in ridding himself of some of the Albanian leaders, the Sultan applied himself with vigour to the subjection of those in Bosnia who were adverse to his rule. In 1830 he sent uniforms to Travnik, which the Vizier immediately donned. This kindled the spark, and in the beginning of 1831 several thousand insurgents, under the command of Hussein Kapetan, the 'Sonai od Bosna,' or Dragon of Bosnia, attacked him in his fortress, and made him prisoner. So great was the abhorrence professed for the adoption of Christian clothing, that the unfortunate Vizier was compelled to perform solemn ablutions and to recite Moslem prayers, in order to purify himself from contamination. The standard of rebellion was now fairly unfurled, and within a few weeks a force of 25,000 men had collected. At the same time Mustapha Pacha, with 40,000 Albanians and others, made his appearance on the scene of action. Without delay an advance was made en potence, and it was confidently anticipated that Stamboul would fall before the insurgent arms. But the Sultan possessed both a cunning and able lieutenant in the Grand Vizier Redschid. This functionary contrived to dispense bribes so judiciously among the inferior Albanian chieftains, that they deserted en masse to the Turks, and thus rendered it imperative on Mustapha to take refuge in his fortress at Scutari. This he did in the anticipation of speedy relief by Hussein Kapetan and the Bosnians, who, despite the dissuasion of the Servian Prince Milosch, had already marched to the rescue. Hussein's answer to Milosch, as given by Ranke, is very characteristic of the man: 'Take heed to thyself,' he said; 'thou hast but little food before thee: I have overturned thy bowl. I will have nothing to do with a Sultan with whom thou canst intercede for me; I am ready to meet thee, always and anywhere; my sword had smitten before thine was forged.' More modest and unpresuming was the burden of the song which they are reported to have chanted on the march:—

We march, brethren, to the plains of Kossovo,
Where our forefathers lost their renown and their faith.
There it may chance that we also may lose our renown and our faith;
Or that we shall maintain them, and return as victors to Bosnia.

Animated by principles which would have done credit to a Christian host, these undisciplined Mussulmans easily overcame the Grand Vizier's army, partly, it must be acknowledged, by the defection of the Albanians, who had previously deserted the cause of Scodra Pacha. Had they now pushed on, their independence would have been established; but, unfortunately, what the Grand Vizier could not effect by force of arms he brought about by guile. With great tact and cunning he sent emissaries to Hussein, demanding to know the terms which they required. These were the permission to remain in statu quo, with the appointment of Hussein as Vizier. These conditions he was fain to grant, and so far worked upon the Bosnians by private and official stratagem, that they commenced their homeward march, leaving Scodra Pacha to his fate. Shortly afterwards he was compelled to surrender. Individually his life was spared, but his partisans did not meet with the same clemency. For the truth of what I am about to relate I am unable to vouch, but can only give it as it is recorded by the chroniclers of the events of those times. Projectile machines are said to have been erected, and the prisoners, being placed upon them, were flung against a wooden framework studded with great iron hooks, and wherever the body of the unfortunate victim was caught by them, there it hung until he perished by the terrible, torturing, and protracted death.

The destruction of Scodra's power was a great feather in the cap of the Grand Vizier, who now lost no time in undermining the authority of Hussein. In this he was assisted by the imprudence of the latter, who committed the error of admitting Ali Aga of Stolatz into his confidence, a man who had always adhered to the Sultan, and was distrusted accordingly by his compatriots. Universal as was the partisan warfare in Bosnia and Herzegovina, there was no chieftain who had supported the brunt of so many onslaughts as Ali Aga. His castle at Stolatz, although incapable of resisting the weapons employed in scientific warfare, was impregnable in those times, and against such an enemy.