The district attorney is the chief prosecutor within a county and is usually a political or appointed position
Depending on the state, every county has an elected or appointed District Attorney who manages the deputy district attorneys and oversees the criminal filings and prosecutions of its department.