A Michigan prosecutor has resigned after admitting that he had an intimate relationship with a sexual assault victim in a case he tried, the state’s attorney general said.

Brian Kolodziej, an assistant attorney general who was hired last September, resigned Friday in lieu of immediate termination after Michigan State Police received a tip that the former television and TV actor had an improper physical relationship with a victim in a case assigned to him shortly after joining the office, Michigan Attorney General Dana Nessel announced Tuesday.

“To say that I am horrified, to say that I am disgusted, it’s really an understatement,” Nessel told reporters, according to MLive.com. “In over 25 years of practice in criminal law … I have never before even heard of a situation like this. I have never heard of a prosecutor involved in this kind of relationship with a victim on a case, much less a victim on a sexual assault case.”

Kolodziej, 41, admitted to the improper relationship on Friday and a criminal investigation by state police is underway, Nessel said.

“While the ongoing investigation means I cannot provide any additional details at this time, it is important to make clear that I expect everyone who works here to hold themselves to the highest standards of conduct when working on behalf of this office,” Nessel said in a statement. “Staff who fail to live up to these requirements will have no place in my department.”

Kolodziej stepped down over his intimate relationship with one of two women who accused a Central Michigan University student of sexual assault in 2016. The undergrad suspect, a former student government president named Ian Elliott, later pleaded no contest to sexual assault and was sentenced to a year in prison in June, the Detroit Free Press reports.

The relationship started in April and continued until the end of August, according to a letter that Nessel’s office sent to Elliott’s attorney, Joe Barberi, and the judge in the case.

“It’s a sad day for prosecutors everywhere,” Barberi told the Morning Sun. “Throughout the nation, throughout the state.”

Elliott’s two accusers, identified in reports as Rachel Wilson and Landrea Blackmore, read victim impact statements during his sentencing — as Kolodziej stood beside them, praising the women as “brave, heroic survivors,” according to MLive.com.

The allegations against Kolodziej were also reported to the Attorney Grievance Commission — which could affect Kolodziej’s law license — and all cases he has handled will be reviewed, according to the letter.

“We have hundreds of dedicated public servants who respect their work and the trust we put in them,” Nessel’s statement concluded. “Several of them have already been assigned to take on the cases assigned to Mr. Kolodziej. Finally, let me say this: This man’s actions do not define our department, but our response will.”

Kolodziej was raised in Clinton Township, Michigan, and appeared in several television shows and films prior to joining the attorney general’s office, including “Creep Van,” “Flight of the Living Dead” and “Malibu Spring Break,” according to his IMDb profile. He could not be reached for comment on Wednesday.