 Complete the following phrase:  However, the line of the Samborides became extinct upon the death of Swietopelks son Mestwin II in 1294, and after the Treaty of Kępno, the territory became part of Poland, under King Przemysław II. The Margraviate of Brandenburg also sought to control the area and in the following armed conflict, the Polish duke Władysław I the Elbow-high called for the support of the Teutonic Knights. After expelling the Brandenburgians from Gdańsk, the Knights massacred the local population and took over Gdańsk and adjacent areas in 1308. Disregarding the Polish claims, the Orders State concluded the 