What city in Latvia was ceded by the treaty that ended the Second Northern War?
Swedish Livonia: Swedish Livonia (Swedish: "Svenska Livland" ) was a dominion of the Swedish Empire from 1629 until 1721. Swedish Livonia:  Parts of Livonia and the city of Riga were under Swedish control as early as 1621 and the situation was formalized in Truce of Altmark 1629, but the whole territory was not ceded formally until the Treaty of Oliva in 1660. Treaty of Oliva: The Treaty or Peace of Oliva of 23 April (OS)/3 May (NS) 1660 (Polish: "Pokój Oliwski" , Swedish: "Freden i Oliva" , German: "Vertrag von Oliva" ) was one of the peace treaties ending the Second Northern War (1655-1660).
Riga