Juiz de fora (office)
A juiz de fora (literally meaning "judge from the outside" in Portuguese) was a magistrate appointed by the King of Portugal to serve in the municipalities where the intervention of an impartial and unbiased judge - usually from outside of the town - was necessary. Often, the judges also assumed a political role, being appointed to preside over municipal councils (câmaras) in order to provide some central control.
History
The office arose in Portugal in 1327, under King Afonso IV, as a type of itinerant magistrate, appointed by the Crown. His main function was to ensure compliance with the Law on behalf of the King. The authority of the juiz de fora was far superior to that of ordinary local judges.
The appointment of a juiz de fora was justified by the need for a truly free, impartial judge, brought in from outside of the town to guarantee fair trials judge. The position could not be exercised at the place of origin or habitual residence of the magistrate, nor were they allowed other links with the local population such as marriage or close friendship .