A judge is an authoritative figure in the legal system, presiding over court proceedings and…