For three years the representatives of the Powers of Europe, invited by
the Emperor, had been laboriously discussing terms for a general
pacification at Osnabrück and Münster. Philip wrote to the nun that
the French demands were so insolent that it was clear that they did not
want peace;[24] but the Hollanders were more inclined to an
accommodation, for they had grown suspicious of the ultimate designs of
Mazarin. After interminable intrigues and self-seeking, however, an
arrangement was arrived at which practically ended the Thirty Years
War; and Spain, beaten to her knees, still burdened with war in
Catalonia, on the Portuguese border, and in Flanders, with her kingdom
of Naples in full revolt, was obliged to accept, at last, what the
world had seen to be inevitable for many {405} years past, the
recognition of Protestant Holland as an independent Power. For nearly
a hundred years the war with her Protestant former dependency had
dragged Spain down, and made her an easy prey to the French, and at
last from the sheer impotence of Spain to struggle longer the Treaty of
Münster (October 1648) was signed by her, which made Holland free and
gave Alsace to France. The central European Powers were satisfied, the
religious compromise was ratified, there was nothing more for the
Emperor to fight for, and he retired from the war with France, leaving
Philip to fight her enemy alone. The long dream of Spain's supremacy
over an orthodox Catholic Europe was indeed dissipated at last; she had
now to fight for the integrity of her own soil and her continued
existence as a great nation, and in this hard strait the empire
deserted her.
All through the year 1647, Philip remained in Madrid, whilst the wars
in Flanders and Catalonia, as well as on the Portuguese frontier,
dragged on with various fortunes, but on the whole not disastrously for
Spain. The great revolt of Massaniello in Naples for a time threatened
Philip with the loss of the kingdom; when the happy thought came to him
of sending his brilliant young son, Don Juan, thither as his
Commander-in-chief. He arrived at a time when Guise, the French
pretender to the Neapolitan crown, had disgusted the fickle populace
which had formerly acclaimed him, and by a fortunate _coup de main_ Don
Juan recaptured the city for his father in February 1648, to the joy of
most of the inhabitants, who were tired of the anarchy which had lasted
for a year. The exploit {406} raised the popularity of the young
Prince almost as high as that of his famous namesake after Lepanto, and
the rejoicings in Madrid to celebrate the victory made the capital for
a time seem its old self again.