@oralloy,
Avenatti is an attorney/lawyer. He's a representative of the court system.
From Wikipedia,
Lawyer
Occupation
Names Attorney, advocate, barrister, counsel, judge, justice, solicitor, legal executive
Barrister, Solicitor, Judge, Advocate, Attorney, Legal executive, Prosecutor, Law clerk, Law professor, Civil law notary, Magistrate, Politician
A lawyer or attorney is a person who practices law, as an advocate, attorney, attorney at law, barrister, barrister-at-law, bar-at-law, counsel, counselor, counsellor, counselor at law, solicitor, or public servant preparing, interpreting and/or applying law, but not as a paralegal or charter executive secretary.[1] Working as a lawyer involves the practical application of abstract legal theories and knowledge to solve specific individualized problems, or to advance the interests of those who hire lawyers to perform legal services.
The role of the lawyer varies greatly across legal jurisdictions, and so it can be treated here in only the most general terms.[2][3]