Residents had alleged that public money was used to influence election; city denies wrongdoing.