Only two of Frederick's four children survived him: Margaret and her older sister Dorothea.
In 1474, Brandenburg had begun a war against Pomerania, because Bogislaw refused to pay homage to Frederick II.
In 1479, Bogislaw concluded the Peace of Prenzlau with his wife's uncle Albert III Achilles, recognizing the Elector of Brandenburg as his liege lord.
Margaret's marriage was childless and her husband accused her of infidelity and disowned her.
Bogislaw, in turn, alleged that the House of Hohenzollern had given him a barren princess for a wife, so as they would get to inherit Pomerania.