It was not until more than one hundred years after these internal wars that, in 1648, under the Peace of Westphalia, European countries recognized Switzerland's independence from the Holy Roman Empire and its neutrality.