The idea of appointing crown officials to oversee local affairs was inspired by the late-medieval revival of Roman law.
After the War of Succession, the new Bourbon kings introduced them into the Aragonese territories, replacing the bailes and vegueres, who, nevertheless, had very similar functions to Castilian corregidores.