Task: Question Generation
Input (English): Passage: Until the death of Duke Mestwin II in 1294, the Duchy of Pomerelia on the Baltic coast, stretching from the border with the Imperial Duchy of Pomerania in the west to the Prussian territory of the Order state at the Vistula river in the east, had been held by the Samborides dynasty, liensmen of the Polish Piast rulers. Przemysł II, King of Poland since 1295, incorporated Pomerelia  into the Lands of the Polish Crown - against the protest of the Imperial Margraviate of Brandenburg referring to the Treaty of Arnswalde signed with Duke Mestwin in 1269. The next year, the Ascanian margraves instigated the kidnapping and killing of King Przemysł, probably backed by King Wenceslaus II of Bohemia, who aimed for the Polish crown. King Wenceslaus II prevailed against his Piast rival Władysław I the Elbow-high and was crowned King of Poland in 1300. He ruled in Pomerelia with the assistance of the local Swenzones noble family. Upon the assassination of his son Wenceslaus III in 1306, the Přemyslid dynasty became extinct and Duke Władysław was able to occupy the Pomerelian lands. The Swenzones, fearing for their assets and sinecures, called for Margrave Waldemar of Brandenburg, whose troops occupied the territory up to the city of Gdańsk. Władysław reacted by calling the forces of the Teutonic Order, who under the command of Heinrich von Plötzke in 1308 re-conquered Gdańsk and most of Pomerelia. However, after the Teutonic takeover they denied the handover to Władysław, as the duke refused to pay the requested expense allowance. Instead they concluded the 1309 Treaty of Soldin with Margrave Waldemar, whose resistance from the beginning had been relatively weak and who now was willing to sell off his claims to Pomerelia.
Output (English): Which group held the Duchy of Pomerelia before 1294?