Anna was originally engaged to the future Casimir III the Great, son of Władysław I the Elbow-high and Jadwiga of Greater Poland, but the plans collapsed after Frederick was defeated at the Battle of Mühldorf.