The Old Swiss Confederacy a "de facto" independent state throughout the early modern period, although still nominally part of the Holy Roman Empire until 1648 when the Treaty of Westphalia ended the Thirty Years' War. The Swiss Reformation divided the confederates into Reformed and Catholic parties, resulting in internal conflict from the 16th to the 18th centuries; as a result, the federal diet () was often paralysed by hostility between the factions. The Swiss Confederacy fell to invasion by the French Revolutionary Army in 1798, after which it became the short-lived Helvetic Republic. The adjective "old" was introduced after the Napoleonic era with ,
Portuguese Restoration War at the negotiations for the European settlement-of-settlements, the new "realpolitik" of the peace of Westphalia (1648). With this treaty and the end of hostilities in Catalonia in 1652, Spain was again ready to direct its efforts against Portugal, but it faced a lack of men, resources, and, especially, good military commanders. By 1662, Spain had committed itself to a major effort to end the war. John of Austria the Younger, Philip IV's illegitimate son, led 14,000 men into Alentejo, and, the following year, they succeeded in taking Évora, the major city of the region. The Portuguese, under António Luís de