Kingdom of Aragon
The Justice of Aragon began as a judge of the Court, and in 1265 was established as a judge of lawsuits between the nobles and the king and as president of the Cortes of the kingdom. At first he was appointed by the king from among the nobles, but ended up being a dignity sometimes for life and hereditary, his prerogatives being cut in 1592 as a result of the Alterations of Aragon.