James Wagner (copy)

James Wagner. Al Cannon Detention Center/Provided

The Charleston County Sheriff's deputy accused earlier this week of inappropriately touching a woman who was jailed has been fired from the agency, authorities said.

On Tuesday, James Wagner of North Charleston was arrested and charged with sexual misconduct with an inmate after the deputy admitted to investigators he kissed the woman and "caressed her back," according to an arrest affidavit.

Wagner was released from the Al Cannon Detention Center on Wednesday after he was given a $10,000 bail.

The former deputy had been with the Sheriff's Office since January 2016, said spokesman Maj. Eric Watson. Wagner had been placed on administrative leave without pay.

Reach Michael Majchrowicz at 843-607-1052. Follow him on Twitter @mjmajchrowicz.

Michael Majchrowicz is a reporter covering crime and public safety. He previously wrote about courts for the Daily Hampshire Gazette in Northampton, Massachusetts. A Hoosier native, he graduated from Indiana University with a degree in journalism.