magistracy (magistrate + -cy; state_quality)
The dignity or office of a magistrate