SIOUX FALLS, S.D. (AP) — The Minnehaha County Commission has accepted the resignation of the county state’s attorney in the wake of an investigation for workplace misconduct.

Aaron McGowan, a Democrat who held the office since 2009, offered his resignation this week. He cited his health and reporting from the Argus Leader about his work absences.

The attorney general investigated McGowan in September over his extended work absences, and reported that some employees had told investigators of incidents involving McGowan and alcohol. One employee reported that McGowan’s behavior made her feel uncomfortable.

The county will pay McGowan $35,000 as part of an agreement not to sue. Commission Chairwoman Jean Bender said she would not comment on personnel issues.

McGowan didn’t attend Tuesday’s meeting and a call to a listing for him rang unanswered. He said in a statement he will focus on “my faith, family, and my health.”