ST. LOUIS — A St. Louis grand jury has indicted Missouri Gov. Eric Greitens on a felony invasion of privacy charge for allegedly taking a compromising photo of a woman with whom he had an affair in 2015, the city circuit attorney’s office said Thursday.

St. Louis Circuit Attorney Kim Gardner launched an investigation in January after Greitens admitted to an affair with his St. Louis hairdresser that began in March 2015. He was elected governor in November 2016.

Gardner declined comment beyond a brief news release, but spokeswoman Susan Ryan confirmed the indictment stemmed from a photo Greitens allegedly took of the woman.

Greitens, a Republican on his first term, was taken into custody in St. Louis and released on his own recognizance, Ryan said.