The dukes governing the "Tercia pars regni" accepted the supremacy of the kings of Hungary, but some of them (Béla, Géza and Álmos) rebelled against the king in order to acquire the crown and allied themselves with the rulers of the neighboring countries.