During Władysław's rule, the Margraviate of Brandenburg staked its claim on the territory 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, annexing and incorporating it into the Teutonic Order state in 1309 (Teutonic takeover of Danzig (Gdańsk) and Treaty of Soldin/Myślibórz). At the same time, Słupsk and Sławno became part of the Duchy of Pomerania. 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 the 14th and 15th centuries.