In November 1709 Denmark invaded Skåne and Count Magnus Stenbock, charged with the defense of Sweden, succeeded in defeating Denmark at the Battle of Helsingborg in 1710. Meanwhile Russia captured Livonia and Estonia in the east. Despite another Swedish victory over the Danes at Gadebusch in December 1712, Stenbock’s army was forced to surrender of the fortress of Tönning in May 1713.