Pursuant to Idaho Code 31-227, the primary duty of enforcing all the penal provisions of any and all statutes of the state is vested in the sheriff and the prosecuting attorney of each of the several counties. The County Prosecuting Attorney’s Office prosecutes felony and misdemeanor crimes. The office also prosecutes juvenile delinquency and infraction cases.