صلح وستفاليا
The Old Swiss Confederacy remained part of the Holy Roman Empire until 1648, when it gained formal independence in the Peace of Westphalia.