After the death of Wenceslaus III of Bohemia – son of Wenceslaus II – in 1306, most of the Polish Lands came under the rule of duke Władysław I the Elbow-high. However at this points, various foreign states were staking their claims on some parts of Poland. Margraviate of Brandenburg invaded Pomerelia in 1308, leading Władysław I the Elbow-high to request assistance from the Teutonic Knights, who evicted the Brandenburgers but took the area for themselves, annexed and incorporated it into the Teutonic Order state in 1309 (Teutonic takeover of Danzig (Gdańsk) and Treaty of Soldin/Myślibórz). This event caused a long-lasting dispute between Poland and the Teutonic Order over the control of Gdańsk Pomerania. It resulted in a series of Polish–Teutonic Wars throughout 14th and 15th centuries.