Peter's northern armies took the Swedish province of Livonia (the northern half of modern Latvia, and the southern half of modern Estonia), driving the Swedes into Finland. In 1714 the Russian fleet won the Battle of Gangut. Most of Finland was occupied by the Russians.