A prosecuting attorney is a lawyer for the state or the people in a criminal trial.
His job is to initiate carry out the legal proceeding against a people who has been accuses of a crime.
In many of the cases the prosecuting attorney the office is involved in the case form the very beginning.