In the diets which, owing to the attacks threatening the country from abroad and troubles at home, were then held three or four times annually, the national party, headed by John Szapolyai, one of the most powerful lords of the land, was constantly urging the cause of the Catholic Church. But there were other political reasons, besides their antipathy to the German courtiers, which determined the national party to persist in their antagonism to the new faith. The Osmanlis were continually harassing the southern frontiers, and the country was always on the brink of a war with them. The nobility, representing the nation, felt instinctively that a catastrophe was near at hand, which Hungary, by her unaided strength alone, would be unable to avert. They had to look for foreign aid, and effective help from abroad could be expected only from the two most powerful rulers in Christendom, the pope and the emperor of Germany, both of whom were Luther’s most determined opponents. They succeeded in securing the good-will of the pope, who, having no armies at his disposal to aid Hungary, assisted the country by abundant supplies of money. In return the nobility deemed it their sacred duty to keep a faithful watch and ward over the interests of the Catholic Church, and, in order to do so effectively, they inaugurated relentless measures against the Lutheran heretics. In 1525 another law was passed against the votaries of the new creed, ordering their extermination throughout the country, and declaring that Lutherans, wherever they were found, should suffer death by fire. This cruel law began its abominable work, and the funeral stakes soon sent forth their lurid flames. The religious persecutions thus inaugurated hastened the downfall of the Hungarian kingdom.

The dreadful catastrophe at Mohács, in 1526, forced Hungary into untrodden roads, not only politically, but also in the matter of religion. The death of her king, and the slaughter of so many prelates and of thousands of nobles, on the fated battle-field, gave a violent shock to the organization of both state and church, and rendered easy the further extension of the Reformation. Many of the great lords and nobles, who hitherto had been the most ardent supporters of the Catholic Church, speedily became, from political motives or private interest, zealous apostles of the new faith, so that the doctrines of Luther, before principally confined to the inhabitants of the cities, now found many adherents among the magnates. The bondmen, too, who, even in matters of religion, were compelled to obey the behests of their masters, embraced the religion of their lords. As a consequence, the victory of the Reformation became, a few decades only after the battle of Mohács, complete through the larger part of Hungary. The doctrines of Luther had paved the way for the teachings of Calvin. The latter, owing to their puritanic spirit and democratic tendencies, which suited the rooted predilection of the Magyar race for self-government, spread mostly over the Hungarian section of the country. The religion of Calvin, or the Helvetic confession, had such a hold upon the Hungarian-speaking population that it was soon designated by the special name of the Hungarian faith, while the Lutheran tenets were held chiefly by the German denizens of the cities and the Slavic inhabitants of the upper country. The ancient Roman Church was confined to a comparatively small territory, and during the seventeenth century hardly numbered one seventh of the population.

One of the most shining pages in the law records of Hungary—an enactment granting to the two Protestant churches equal rights with the Catholic Church—is connected with the name of Stephen Bocskay. Although the Catholic Church had, during the sixteenth century, lost most of its followers, yet legally, and owing to the circumstance that the Hapsburg kings were the most zealous propagators of the Roman faith, it continued to be the only recognized church, and to exercise an unduly preponderating influence in public life, which, at that time, bore an exclusively religious impress. The Hungarian magnates and noblemen, then almost all Protestants, under the leadership of Prince Stephen Bocskay, took up arms against this privileged position of the Catholic Church, as well as in defence of the laws of the land, and succeeded in obtaining, in 1606, at the peace of Vienna, a law whereby perfect equality between the Protestant churches and the Catholic Church was established. This great victory, achieved by the Protestants, had the effect of rousing the Catholic Church to energetic action. The anti-reformation movement began in Hungary, as it had already all over Europe, and produced, under the direction of Cardinal Peter Pázmány, the archbishop of Gran, in a comparatively short time, the most surprising results. In the course of a few decades, the most influential and leading families of the aristocracy returned to the fold of the Catholic Church.

The mass of the people, however, the nobility, the inhabitants of the cities, and the peasantry, still remained Protestants, and when the Transylvanian princes, Gabriel Bethlen and George Rákóczy I., were about to engage in war against the Hapsburgs, they readily rallied around these bearers of the standard of the national faith. The peace of Linz, a confirmation of the treaty of Vienna, was concluded under Rákóczy, again solemnly proclaiming the perfect equality of the Protestant churches with the Roman Catholic Church, an equality, however, which, in point of fact, was never put into practice. The written law and their good right was of no use to the Protestants, for the power was gradually slipping from their hands. Under the patronage of the royal court, the anti-reformation movement had made great conquests amongst the lower classes of the people, and sometimes by the use of violence, sometimes by other means, whole districts and large territories again became Catholic. Elated by these successes, the court of Vienna for a long time ignored its promise of freeing the Hungarian people from the Turkish yoke, and about sixty years elapsed without any hostilities against the sultans. The chief endeavor of the court was forcibly to deprive the Hungarian nation of her constitutional institutions which were based upon her nationality, and to subject to imperial absolutism the people, jealous of their liberties and accustomed to freedom. These unconstitutional proceedings on the part of the government produced popular risings and party strife, and were, in their sad consequences, fatal to thousands of fanatics, spreading misery and poverty even to those parts of the land which, from their geographical positions, had been exempt from the ravages of the Turks.

The cessation of hostilities did not interrupt the continued ravages and devastations. Officially, it is true, there was, for about sixty years, peace between the royal court and the sultans, but this did not prevent the latter from constantly indulging in minor military operations. In 1663, however, when Leopold I., who was of an eminently peaceful disposition, held the throne, the Turks officially declared war. Although it had already then become apparent that the Turkish empire was impaired in strength, and, more particularly, that her military organization had degenerated, yet the Turks were eager for new battles, and war was determined upon in Constantinople. Hostilities soon commenced, and at St. Gotthard, in 1664, the Turks got their first repulse, for Christian arms there dealt them a heavy blow. Not once during the two centuries that had gone by were the Turks so overwhelmingly defeated on the continent as on this occasion. Enslaved Hungary breathed more freely, and already thought that the long-hoped-for hour of shaking off Moslem thraldom had arrived. But she was doomed to disappointment. The brilliant triumph was not turned to Hungary’s advantage in Vienna. A hasty peace was concluded with the terrified Turks, and thus was prolonged for many decades the Turkish rule, which, though enfeebled, was still ruinous to Hungary.

It was at this period, too, that a man of great genius, and a true patriot, preached, with genuine apostolic zeal, a crusade against the Turks. His name was Nicholas Zrinyi. The namesake and great-grandson of the hero of Szigetvár, he was himself a gallant soldier and famous poet, and has immortalized, in a grand Hungarian epic, the martyrdom of his heroic ancestor. By his writings he fired the hearts of his countrymen, and his life was passed on bloody fields, in perpetual warfare against the Turks. From his youth he had been inspired by one thought only, to live and die for his country, and, although a devout Catholic, he nobly proclaimed religious toleration, at a time when the country was torn by religious dissensions. His educated mind led him to cultivate poetry, and to study the works of classical authors on history and philosophy, but his chief interest always remained the battle-field and the struggle against the Turks. On one of his estates he had a small fortress erected, called Zerinvár, from which the Hungarians were in the habit of sallying forth into the neighboring Turkish territory. This little place was a thorn in the side of the Turk, and the main cause of the declaration of war of 1663. Zrinyi, however, defended it gallantly, and beat back the assault of the enemy. In the course of the war he took several Turkish fortresses, and burned down and destroyed the bridge across the Drave, 4,000 paces in length, near Eszék, which had been built under Solyman, and which, being the main road leading into the western part of the country, was defended by trenches and other fortifications. The repute made by Zrinyi’s extraordinary feats of war resounded in all Europe, and he was loaded down with distinctions by the pope, Louis XIV. of France, and by the princes of Germany and Italy, as the hero of Christendom. In the zenith of his glory, he lost his life by a cruel accident. While engaged in the chase, a wild boar rushed upon him, and wounded him mortally. He was found by his servants, lying on the ground, bathed in his own blood, and expired shortly afterward. All Hungary and Christian Europe lamented the loss of the distinguished soldier and poet.

His devout wish, to see the Hungarian nation freed from the oppressive rule of the Turks, did not approach its fulfilment until twenty years after his death. But even then it was not the royal court which accomplished the work of liberation, for, instead of making preparations in that direction, the government initiated the most cruel persecutions against the Protestants, compelling them to resort to armed resistance. The struggle between the Kuruczes, or the armed Hungarians, and the imperial troops was at its height, when Kara Mustapha Pasha, the ambitious grand-vizier of Sultan Mohammed IV., saw in this intestine war a favorable opportunity to conquer the remaining territory of Hungary, and even to menace in his own residence, Vienna, the emperor of the Romans. Leopold I., the emperor of Germany and king of Hungary, did all in his power to conciliate the Turks and to delay the war. But Kara Mustapha remained inexorable, and boldly ventured on an enterprise which was destined to be fatal to him, and which, after a long and sanguinary contest, finally led to the overthrow of the Turkish power in Europe and the liberation of Hungary.

In the spring of 1683 the sultan and his grand-vizier commenced their march at the head of a force numbering 250,000 men, carrying with them 300 cannon. In Hungary they were joined by the so-called Kurucz king, Count Emeric Tökölyi, and his adherents. This tremendous army was already under the walls of Vienna in July, but two months of a severe siege had already elapsed and the city could not be taken. The Christian forces, led by John Sobieski, King of Poland, and Charles, Duke of Lorraine, were meanwhile hastening to the relief of the city, and on the 12th of September they succeeded in completely routing the Turkish army, which lost 60,000 men, the remainder scattering in wild flight in every direction. This was the last great campaign undertaken by the Osmanlis against the Western world. They could never recuperate from the effects of the defeat then suffered, and the great calamity which befell the Turkish power rendered it, at length, possible for Hungary, the bulwark of Christianity, which had been the scene of continual wars during a century and a half, to regain her liberty.

Leopold I., who had seen his capital menaced by the Turks, now took energetic measures to continue the war, and very soon his forces recaptured Gran, the ancient seat of the primate of Hungary, which for a long time had owned the Turkish rule. The whole line of the Danube fell into the hands of the Christians, and in 1684 an attempt was made to capture Buda, the once famous capital of Hungary. The siege, however, failed on this occasion, in spite of the heroic efforts made by the Hungarians. But they were more fortunate in the case of another powerful Turkish stronghold, Neuhäusel (Érsekujvár), the recapture of which, a brilliant military feat, was made the occasion for feasting and merriment in many European cities. At length, in 1686, Buda, too, was restored to Hungary. Volunteers flocked into Hungary, from every part of Europe, when the news spread that Duke Charles of Lorraine, the commander-in-chief, was making preparations for the recapture of the ancient and famous seat of the Hungarian kings. A powerful army gathered around his banners, and in the middle of June the duke arrived under the walls of Buda, which was defended by Abdi Pasha, then seventy years old, and a garrison of 16,000 determined soldiers. The siege lasted seventy-seven days, during which time the Turks made two sallies, and the grand-vizier made three attempts to come to the relief of the garrison, but the enemy was each time driven back by the Christian forces. The strongly fortified city, which had been heroically defended, fell, at length, after five unsuccessful assaults, on the 2d of September, 1686, into the hands of Duke Charles. On the afternoon of that day, at four o’clock, began the sixth assault; 9,000 Christian heroes resolutely stormed with fixed bayonets (an arm at that time still new and here employed for the first time) the walls which had been reduced to ruins by the guns of the besiegers. After a sanguinary contest lasting about one hour, a gallant Hungarian, David Petneházy, succeeded in penetrating, first, with his 800 hayduks, into Buda, whose garrison and inhabitants were almost entirely put to the sword. Thus after a lapse of 145 years was Buda freed from the Turkish yoke, and the whole Christian world was jubilant over the glorious news.

Many bloody battles, however, occupying a considerable period of time, had to be fought before the Moslem oppressors were entirely swept away from Hungarian territory. Duke Charles marched to the southern parts of Hungary and destroyed the Turkish army near Mohács, there, where 161 years before the Hungarian army had been annihilated by the Moslems. Soon after, Transylvania, too, passed under the supremacy of the king of Hungary. All the principal fortresses and towns were successively occupied by the royal troops, and when, in 1691, a Turkish army numbering 100,000 men was sent again to Hungary by the Sublime Porte, they were completely routed near Szalánkemén. It was one of the most sanguinary battles of that century; the grand-vizier himself, the aga of the Janissaries, seventeen pashas, and 20,000 Turkish soldiers lost their lives during the engagement. During a few years succeeding this great battle, lesser engagements only were fought, but hostilities never ceased. In 1697, however, Duke Eugene of Savoy, the “noble knight” and illustrious general, assumed the commandership of the royal forces. In the battle near Zenta he utterly annihilated, after a contest of two hours, a Turkish army led by Sultan Mustapha II., inflicting frightful losses upon the enemy; 10,000 Turks met their death in the waters of the Theiss, 20,000 were killed, and among the dead were the grand-vizier, 4 pashas, and 13 begler beys. These successive disasters and the frightful loss of men, amounting to many hundreds of thousands in the course of the fifteen years of warfare, finally prevailed upon the sultan to accept the terms of peace proposed by Leopold I. The treaty of peace was signed at Carlowitz in 1699, and under its terms Transylvania and the greater part of the Hungarian territory was restored to the king of Hungary by the sultan, but a smaller portion, lying between Transylvania and the Theiss, the ancient county of Temes, was still permitted to remain in Turkish hands. The court of Vienna, instead of attempting to regain the remaining territory, elated by the recent military successes, again renewed its attacks upon the nationality of the Hungarians and their ancient liberties, which it had always looked upon with decided dislike, and the complete subversion of which it now attempted. The nobility, weary of the absolutism of the court, combined at last with the peasantry, who had suffered severely under the lawlessness and illegal exactions of the soldiery, to raise the standard of rebellion, under the lead of Francis Rákóczy II. The great national struggle for liberty was initiated by electing Rákóczy king of Hungary and Transylvania, and, very soon, the Kurucz troops roamed as far as Austria. Later on, however, the fortunes of war changed, and Rákóczy retired to Poland hoping to obtain aid from the Russian Czar Peter the Great. During his absence he entrusted one of his generals, Alexander Károlyi, with the command of his army, who, however, instead of continuing the struggle, made his peace with the king. The peace of Szatmár, in 1711, finally put an end to the period of constitutional struggles between the nation and the king.