What does "cadi" mean?

Cadi: An inferior magistrate or judge among the Mohammedans, usually the judge of a town or village.

Sources