A prosecutor is a lawyer who appears in court before a judge regularly