Task: Text Categorization
Input (English): Ecclesiastically, it ended all religious persecution in Germany and confirmed the Treaty of Passau and the Peace of Augsburg. Politically, it ceded the archbishoprics of Bremen and Verden to Sweden, while the Lower Palatinate was restored to Charles Louis, eldest son of Frederick V, and the de facto independence of the United Provinces of the Netherlands was recognized. Including the Treaties of Munster and Osnabruck, FTP, what was this agreement that was signed on October 24, 1648 and ended the Thirty Years' War
Output (English): History