The Knights then captured the rest of Pomerelia from Brandenburg's troops. In September 1309, Margrave Waldemar of Brandenburg-Stendal sold his claim to the territory to the Teutonic Order for 10,000 marks in the Treaty of Soldin (now Myślibórz), thereby connecting the State of the Teutonic Order with that of the Holy Roman Empire. While for the order, this landbridge with the empire was a major strategic improvement by connecting its Baltic territories to its German bailiwicks ("ballei"), it was at the same time a major loss for Poland which had become a landlocked country.