When King Ladislaus IV died, most of his contemporaries thought that the dynasty of the Árpáds had come to an end, because the only patrilineal descendant of the family, Andrew, was the son of Duke Stephen, the posthumous son of King Andrew II who had been disowned by his brothers.