district attorney
A prosecutor in the state or municipal court system, often an elected official.