KANSAS CITY, Mo. (AP) — A Missouri audit report shows that taxpayers spent more than $200,000 to defend former Gov. Eric Greitens’ use of a self-deleting text message app.

A 2017 lawsuit alleged Greitens’ office used the app Confide to subvert Missouri’s open records laws. The case was dismissed in July.

Greitens resigned last year amid allegations of sexual misconduct and campaign violations.

The Kansas City Star reports that state Auditor Nicole Galloway conducted the routine audit. Her report released Wednesday says most of the money funded private attorneys to represent the governor’s office in the lawsuit. Nearly $23,000 came from the state legal expense fund administered by the attorney general’s office. The governor’s office paid the remainder.

Neither the governor’s office nor the attorney general’s office responded to requests for comment.