In the beginning of 1234, the elderly King Andrew II of Hungary, who had been widowed for the second time in 1233, visited the court of the Este family and fell in love with the young Beatrice.
Her uncle gave his consent to the marriage only on the condition that both King Andrew and Beatrice renounced the dowry and any claim of her father's inheritance.
Moreover, when the widowed Beatrice announced that she was pregnant, her stepson accused her of adultery with Denis, son of Ampud, his father's powerful royal advisor, and ordered her arrest.
Beatrice could escape from Hungary only with the assistance of the ambassadors of Frederick II, Holy Roman Emperor who had arrived to the deceased king's funeral.
Following the birth of her child, Beatrice was planning to live in the court of his uncle, but Marquis Azzo VII denied her request.