 At the Peace of Westphalia, the Swiss delegation was granted formal recognition of the confederacy as a state independent of the Holy Roman Empire.Growing social differences and an increasing absolutism in the city cantons during the Ancien Régime led to local popular revolts.An uprising during the post-war depression after the Thirty Years' War escalated to the Swiss peasant war of 1653 in Lucerne, Berne, Basel, Solothurn and the Aargau.