a civil legislative or executive official, e.g.:
a principal official exercising governmental powers
a paid or unpaid local judicial officer who presides in a magistrates’ court
magistrature noun
[Middle English magistrat from Latin magistratus magistracy, magistrate, from magistr-, magister master, political superior]