On 10 July 1290, Mary's brother, Ladislaus IV of Hungary died childless. The question now was who would succeed him: he had four sisters, three of them outlived him, all four had married powerful rulers and all four had their own children. On 21 September 1290, Mary claimed the throne of Hungary. She was up against her two sisters, Catherine and Elisabeth, and their children, plus the children of her younger sister Anna. The Pope confirmed her sole rights in Hungary on 30 August 1295. However, Catherine's son, Stephen Vladislav II of Syrmia, was still a dangerous rival for Mary and Charles Martel. In the end, Charles Martel gave his cousin Slavonia as a compromise.