A former Indiana University student was sentenced Thursday to one year of probation as part of a plea deal after he was charged in connection with two separate rape cases, drawing parallels to Brock Turner, the ex-Stanford swimmer sentenced to six months in jail on a sexual assault conviction.

John Enochs agreed to plead guilty to battery with moderate bodily injury and his two rape charges were dismissed, according to Fox 59. Court records show Enochs only spent one day in jail.

Fox 59, citing court documents, reported that the victim told police in April 2015 she had been raped at the Delta Tau fraternity house, but didn’t know her alleged attacker. She said she repeatedly told the attacker to stop, but he held her down. However, she was able to leave the room and get away.

Police said security video showed Enochs entering the room with the victim and that she left after 24 minutes. Health officials revealed that she suffered a laceration to her genitals.

Police also found a similar incident in 2013. The victim in that case agreed to help investigators and Enochs was later arrested based off DNA evidence and witness statements.

Prosecutors said Brock Turner raped an unconscious woman near a fraternity house in 2015. His sentence earlier this month triggered outrage across the country. A petition to oust the judge garnered more than a million signatures.

Click for more from Fox 59.