Surrounded by adversity and even taken prisoner (for a short time in 1270) Mestwin II gave the possession of Gdansk to the Brandenburg duke Conrad who was holding the city of Gdansk until Mestwin II forced them to resign from their possession of the city by use of force in 1273, having been strengthened by new alliance with his maternal cousin Bolesław Pobożny, the duke of Great Poland.