Ezra 7:25shephat
And thou, Ezra, after the wisdom of thy God, that is in thine hand, set magistrates and judges, which may judge all the people that are beyond the river, all such as know the laws of thy God; and teach ye them that know them not.
Ezra is told to appoint magistrates who judge by God's laws.
Luke 12:11archē
And when they bring you unto the synagogues, and unto magistrates, and powers, take ye no thought how or what thing ye shall answer, or what ye shall say:
Jesus says not to worry when brought before magistrates.
Acts 16:20stratēgos
And brought them to the magistrates, saying, These men, being Jews, do exceedingly trouble our city,
Paul and Silas are dragged before Philippi's magistrates as troublemakers.