Hypothetically, a resident of a large city in state X is accused of committing a crime of small to moderate severity. The local district attorney decides, for whatever reason, to not prosecute, and the accused person is released.
Does the state government have the ability to prosecute such a case? Who would be in charge of making such a decision? If state government has this power, is it frequently used in modern day America?
(I understand that the local DA may have good reasons for not prosecuting any particular case, and that a state level office may have better targets to go after. However, could they?)