The war ended with the Peace of Westphalia.
Sota loppui Westfalenin rauhaan.