From 1515 until 1841, Upper Navarre was in effect an autonomous kingdom in personal union with the Spanish crown. It was allowed to retain a large degree of home rule, preserving much of the institutions of the independent kingdom, not exempt of tensions with the ever centralizing drive of Castile and attempts at reunification with
independent Navarre to the north of the Pyrenees led by the Parliament. In 1528, the sitting at Pamplona authorised a simplified law code known as the
Fuero Reducido. Although widely used, it was never confirmed by the king. A viceroy represented the Spanish monarch. The
Cortes (the Parliament) was the main legislative body, composed of three estates of clergy, nobles and burgesses. There was a Royal Council and a Supreme Court, as well as a
Diputación del Reyno or Government of Navarre (similar to the
Generalitat of Aragon and the
Generalitats of Catalonia and Valencia). ==Lower Navarre==