King of the House of Árpád became a wiser and wiser ruler as he went through his adventures and trials, and for the good of the country he forged a new alliance with his people, the rules of which were laid down in the Golden Bull of 1222.