Depending on the state, an elected prosecutor may go by titles like “District Attorney,” “State Attorney,” “Prosecuting Attorney” or “County Attorney.” They are elected to 4-year terms by the voters in the county or local district that they serve.
Is the prosecutor an elected or appointed?
In most U.S. state and local jurisdictions, prosecutors are elected to office. ... Prosecutors, whether elected or appointed, are often subject to political pressures.
Are city prosecutors elected?
In some cities, the city attorney is elected, while in other cities, the city attorney is appointed. For example, in California, most large cities (including San Francisco, Los Angeles, and San Diego) have elected city attorneys, while most of smaller cities appoint their city attorneys.