John II Casimir Vasa
At Oliva (Oliwa), Poland, peace was made between Sweden, the Polish–Lithuanian Commonwealth, the Habsburgs and Brandenburg-Prussia. Sweden was accepted as sovereign in Swedish Livonia, Brandenburg was accepted as sovereign in Ducal Prussia and John II Casimir Vasa withdrew his claims to the Swedish throne but was to retain the title of a hereditary Swedish king for life. All occupied territories were restored to their prewar sovereigns. Catholics in Livonia and Prussia were granted religious freedom.