Kingdom of France Spain and the Holy Roman Empire during the Thirty Years' War (1618–48) which had broken out in Germany. After the death of both king and cardinal, the Peace of Westphalia (1648) secured universal acceptance of Germany's political and religious fragmentation, but the Regency of Anne of Austria and her minister Cardinal Mazarin experienced a civil uprising known as the Fronde (1648–1653) which expanded into a Franco-Spanish War (1653–59). The Treaty of the Pyrenees (1659) formalised France's seizure (1642) of the Spanish territory of Roussillon after the crushing of the ephemeral Catalan Republic and ushered a short period of peace. The
Treaty of Teschen margraviates in 1791. The Electorate of Saxony received a sum of six million guilders (florins) from Bavaria in exchange of its inheritance claims. With the accession of Elector Charles Theodore, the electorates of Bavaria and the County Palatine of the Rhine (i.e. the territories in the Rhenish Palatinate and the Upper Palatinate) were under the united rule of the House of Wittelsbach. Their electoral votes were combined into one per a provision in the earlier Treaty of Westphalia in 1648, thereby reducing the number of electorates in the Holy Roman Empire to eight. The Innviertel, except for a short time