Following the death of King Andrew III, several claimants started to struggle for the throne; finally, King Charles I (the grandson of King Stephen V's daughter) managed to strengthen his position around 1310.