The institutionalization of the feudal monarchy included the creation of the Courts, extension of the Curia Regis to set up a representative assembly of the nobility, clergy, and the cities of each realm. The alternatives of dynastic politics determined inheritances and marriages that divided and merged kingdoms (Castilla y León repeatedly until final unification with Fernando III "the Saint"). Faced with greater inner power that managed to accumulate the kings of the Crown of Castile, opposite case was that of Aragon turned into kingdom after its separation from Navarra, the military orders of the testament of Alfonso been met could have become a territory by I Fighting; nobles agreed to ignore it, and raise the throne Ramiro II the Monk (the legendary bell Huesca) who, a year to ensure the succession to the birth of his daughter Petronila, agreed to her marriage to the Count of Barcelona Ramon Berenguer IV , who left the government of the kingdom, returning to his monastery (in 1137 -the wedding had to wait thirteen years). The resulting political entity (Crown of Aragon) was incorporating the successive conquests of such separation criteria: federal territories with different institutions.