Upon being satisfied that funds of the county, or public moneys in the hands of the county treasurer or belonging to the county, are about to be or have been misapplied, or that any such public moneys have been illegally drawn or withheld from the county treasury, or that a contract, in contravention of law, has been executed or is about to be entered into, or that such a contract was procured by fraud or corruption, or that any property, real or personal, belonging to the county is being illegally used or occupied, or that such property is being used or occupied in violation of contract, or that the terms of a contract made by or on behalf of the county are being or have been violated, or that money is due the county, the prosecuting attorney may, by civil action in the name of the state, apply to a court of competent jurisdiction, to restrain such contemplated misapplication of funds, or the completion of such illegal contract, or to recover, for the use of the county, all public moneys so misapplied or illegally drawn or withheld from the county treasury, or to recover damages, for the benefit of the county, resulting from the execution of such illegal contract, or to recover, for the benefit of the county, such real or personal property so used or occupied, or to recover for the benefit of the county, damages resulting from the nonperformance of the terms of such contract, or to otherwise enforce it, or to recover such money as is due the county.
R.C. §309.12