 Complete the following phrase:  The treaty had John II Casimir renounce his claims to the Swedish crown, which his father Sigismund III Vasa had lost in 1599. Poland also formally ceded to Sweden Livonia and the city of Riga, which had been under Swedish control since the 1620s. The treaty settled conflicts between Sweden and Poland left standing since the 