By 1308 the Pomerelian part of the region was conquered by the first Polish state, who granted them autonomy and their existing self-government. During the rule of Władysław I the Elbow-high of Poland, the Margraviate of Brandenburg staked its claim on the territory in 1308, leading Władysław to request assistance from the Teutonic Knights, who had replaced the Brandenburgers and incorporated Pomerelia into the Teutonic Order state, in 1309 (Teutonic takeover of Danzig (Gdańsk) and Treaty of Soldin (Myślibórz)).