A circuit court, in the event of a recovery by plaintiff, may award a reasonable sum to reimburse the plaintiff for expenses, including attorneys' fees, in an action brought by a taxpayer on behalf of himself and other taxpayers similarly situated, to recover into the treasury of the state, school district, city, county, or other government entity, funds wrongfully expended, misappropriated, or misapplied by a governing body or public official.
SDCL 15-17-45