The County Attorney's position is unique in that it is provided for in the state constitution. Other offices are products of legislation. The attorney's primary responsibilities are to provide legal counsel for the board of supervisors, elected county officials, department heads, and to act as legal representative for the county in court cases. In cases where a crime has been committed in the county, he/she acts as the prosecuting attorney and presents the county's case at the trial. The county attorney is also responsible for juvenile justice which includes delinquency, abuse, and child neglect cases.