Principality of Catalonia
In 1481, during the reign of Ferdinand II of Aragon, the "Constitució de l'Observança" was approved by the General Court of Catalonia, establishing the submission of royal power (included its officers) to the laws of the Principality of Catalonia.