prosecutor

a person, especially a public official, who institutes legal proceedings against someone.