Did you mean magistracy?
magistracy
noun
°The office or dignity of a magistrate.
°The collective body of magistrates.