A criminal lawyer working for the government is called a prosecutor.