In the Baltic Sea region, the struggle of Poland and Lithuania with the Teutonic Knights continued and culminated at the Battle of Grunwald in 1410, where a combined Polish-Lithuanian army inflicted a decisive victory against them. In 1466, after the Thirteen Years' War, King Casimir IV Jagiellon gave royal consent to the Peace of Thorn, which created the future Duchy of Prussia under Polish suzerainty. The Jagiellonian dynasty at one point also established dynastic control over the kingdoms of Bohemia (1471 onwards) and Hungary. In the south, Poland confronted the Ottoman Empire and the Crimean Tatars, and in the east helped Lithuania fight Russia.