Question: Swedish Livonia, which constituted the southern part of modern Estonia, was fully ceded in what peace treaty between Sweden, the Polish-Lithuanian Commonwealth, the Habsburgs and Brandenburg-Prussia?
Sentence (from "Swedish Livonia"): The minority part of the Wenden Voivodeship retained by the Polish–Lithuanian Commonwealth was renamed the Inflanty Voivodeship (""Livonian Principality""), which today corresponds to the Latgale region of Latvia.
Relevant evidence: No