The 1622 Truce of Mitawa gave Poland the possession of Livonia and eastern Livonia , but the Swedes were to take over most of Courland north of the Daugava .
The 1622 Truce of Mitawa gave Poland the possession of Courland and eastern Livonia , but the Swedes were to take over most of Livonia north of the Daugava .