In the Thirty Years ' War , which ravaged central Europe until 1648 and the Peace of Westphalia , Protestant and Catholic princes from Austria to Sweden struggled with one another , and hundreds of thousands of Germans died in battle .