The treaty signed at Münster and Osnabrück, which brought the Thirty Years War to a conclusion. By its terms, the Habsburgs acknowledged the independence of Switzerland and the separation of the United Provinces from the Spanish Netherlands, France secured undefined rights in Alsace and retained the bishoprics of Metz, Toul, and Verdun, Sweden acquired West Pomerania and the bishoprics of Bremen and Verden, and Brandenburg acquired East Pomerania and the succession to the archbishopric of Magdeburg. The full sovereignty of the German states was recognized, thus marking the failure of the Holy Roman Emperor to turn Germany into a Catholic monarchy.