God be praised, such is the strength of Islam that the union of Russians and Poles matters not to us. Our Empire has increased in might since its origin; nor have all the Christian kings that have leagued against us been able to pluck a hair from our beard. With God’s grace it shall ever be so, and our Empire shall endure to the Day of Judgment.

Ahmed Kiuprili himself, in a letter written in his own hand to the Polish envoy, defended his action in terms which might well have been quoted later when the Christian subjects of Turkey rose in arms against their oppressors and claimed the assistance of Russia.

The Cossacks [he said], a free people, placed themselves under the Poles, but being unable to endure Polish oppression any longer, they have sought protection elsewhere, and they are now under the Turkish banner. If the inhabitants of an oppressed country, in order to obtain deliverance, implore the aid of a mighty emperor, is it prudent to pursue them in such an asylum? When the most mighty and most glorious of all emperors is seen to deliver and succour from their enemies those who are oppressed, and who ask him for protection, a wise man will know on which side the blame of breaking peace ought to rest. If, in order to quench the fire of discord, negotiation is wished for, so let it be. But if the solution of differences is referred to that keen and decisive judge called ‘the Sword,’ the issue of the strife must be pronounced by God, by whose aid Islam has for a thousand years triumphed over its foes.[26]

In the campaign of 1672, the important city of Kaminiec, the capital of Podolia, was captured. The King of Poland then sued for peace, and the treaty of Bucsacs was agreed to, under which the province of Podolia was ceded to the Sultan. The treaty, however, was disavowed by Sobieski and the principal nobles of Poland. They renewed the war against the Turks. It lasted for four years. In 1673 the Turkish army, under Ahmed Kiuprili, met with a crushing defeat from the Poles, under Sobieski, near Choczim. His camp was surprised. The Wallachians and Moldavians deserted him on the field and went over to the enemy. There was great slaughter of the Turks. In the following year the Turks returned to the charge, but were again worsted. In 1675 Sobieski, aided by the Russians, gained another great victory over the Turks at Lemberg. But in the following year the Turks, under the command of Ibrahim Pasha, turned the tables on the Poles. The superior resources of the Turks, under the able administration of Kiuprili, told at last in their favour. Sobieski, who had become King of Poland, was defeated. The whole of Podolia fell into the hands of the Ottomans. Sobieski was now willing to come to terms. Under the treaty of Zurawna (October 27, 1676) terms rather more favourable than those under the repudiated treaty of Bucsacs were conceded to the Ottomans. Podolia was ceded to them.

Ahmed Kiuprili died a few days after the signature of this treaty from the effect of drink. Though he had incurred severe defeats at the hands of the Austrians and Poles, he had retrieved them by his persistence and by the effective use of the resources of the Empire, which he enlarged by the province of Podolia, the island of Crete, and the district of Neuhausel and Serinvar, in Hungary. These entitle him to be ranked among the makers of the Empire so far as Europe was concerned. His enlightened administration, his humane and just bearing, his insistence on equal justice for all, irrespective of religious creeds, his strict observance of his plighted faith in public and private affairs, in matters great and small, his patronage of science and literature, earned for him a place in the first rank of Turkish statesmen.

It was hoped in many quarters that the Sultan would appoint as successor to Ahmed Kiuprili his brother, Zadé Mustapha Kiuprili, who had shown as governor of provinces that he had many of Ahmed’s high qualities. In an evil moment Mahomet conferred the post of Grand Vizier on his son-in-law, a favourite companion in the chase, Kara Mustapha—the black Mustapha—who was notorious for his bloodthirsty disposition and his avidity and corruption. This seems to have been one of the few acts of the Sultan Mahomet IV where he exercised his royal prerogative, for as a rule he left everything to his Vizier, when appointed, and cared for nothing but the pleasures of the chase. A more unfortunate appointment could not have been made. Thirteen years elapsed before Zadé Kiuprili was at last invested with the office. They were years fraught with disaster to the Empire.

The first military effort of the new Grand Vizier was to lead an army in 1678 across the Danube into the Ukraine. He came into conflict there with the Russians as well as the Poles, and met with a severe defeat. The war, however, simmered on with varying results till 1681. Peace was then concluded with Russia, and the Turks gave up the disputed country.

In 1682 the population in that part of Hungary which was under the rule of the Emperor Leopold revolted against his bigoted tyranny. Kara Mustapha thought that this afforded an opportunity for attacking Austria. He seems also to have been inflated with ambition to create a kingdom for himself. He collected an enormous army at Adrianople, and in the spring of the following year, 1683, he crossed the Danube at the head of two hundred and seventy-five thousand men, without counting a horde of irregular Tartars and camp followers. He met with little resistance in his march northwards till he reached the walls of Vienna at the head of two hundred thousand men. The Emperor, on his part, was very ill-provided with troops to meet this enormous host of invaders. He had no more than thirty-five thousand men under arms. Of these, eleven thousand were left to garrison Vienna, and the main body was quite insufficient to meet the Turks in the field. In his peril the Emperor appealed for aid to Sobieski, the King of Poland. The Poles had very recently concluded peace with the Turks. But this made no difficulty. Sobieski undertook by treaty to send an army of fifty thousand men in support of the Emperor. There was a clause in the treaty of a significant character. It was not to be annulled by any future dispensation of the Pope. The Polish army, however, was at some distance and could not reach Vienna in less than eight weeks. There can be little doubt that if Kara Mustapha had pressed the siege with vigour Vienna must have fallen before the arrival of the Polish army.

This second great siege of Vienna began on July 15, 1683. The Emperor and his family fled to Bavaria. The fortifications of Vienna had been much neglected and offered no serious obstacle. But the city was heroically and obstinately defended by its commander, Count von Stahremberg, who emulated Count Salms of the first siege. Twenty thousand of its citizens enrolled in its defence. The Turkish batteries shattered the walls. There were frequent sorties without avail. It was said that the Ottoman army, with its enormous superiority in numbers, might easily have carried the city by storm, but that Kara Mustapha hoped to gain it by capitulation, in which case the wealth of the city would be at his own disposal as representative of the Sultan, whereas, if it were taken by assault, the great booty would fall mainly to the soldiers. He delayed, therefore, the final attack. Meanwhile Sobieski had time to bring up his army from Poland and to join Prince Charles of Lorraine, who was in command of the Imperial troops, making a total force of eighty thousand. They crossed the Danube at Tulm by a bridge of boats, and then made a detour through a most difficult country behind the Kalemberg, so as to attack the Turkish army before the city from the rear. Kara Mustapha was guilty of incredible neglect in not offering resistance to the crossing of the Danube by the Christian force, or to their passage through the difficult country behind the Kalemberg. On September 6th rockets from the Kalemberg announced to the garrison of the city that the relieving army had occupied these heights behind the Turkish camp.

When Sobieski saw the great array of the Turkish camp exposed to attack, he felt very confident of success. He contemptuously said of the Grand Vizier: “This man is badly encamped. He knows nothing of war. We shall certainly beat him.” In an address to his troops he said:—