Mestwin was a member of the Samborides dynasty, the son of Duke Sobiesław of Gdańsk and younger brother of Sambor I, whom he succeeded in Pomerelia by appointment of the Polish High Duke Władysław III Spindleshanks.