BOONVILLE, Ind. — A former Warrick County Schools teacher charged with rape was accused of assaulting a student twice in his classroom after hours, according to court records released Friday morning.

Former English teacher Matthew Evans, 27, resigned from Boonville High School in early December and was arrested on a warrant Thursday.

Evans posted bond Friday morning and was released from Warrick County Jail. His bond was set at $5,000 cash or $50,000 surety.

The probable cause affidavit in this case, which describes police interviews with former students, was sealed by court order but unsealed after Evans was arrested Thursday.

More:Former Warrick County Schools employee arrested on rape, sexual battery charges

Evans tried to kiss the student once while they were in his classroom, according to the Warrick County Sheriff's Office. The student told Evans it was wrong and made them uncomfortable.

Evans allegedly texted the student after they left the room. Police say he communicated with some students, including the accuser, through text messages and Snapchat.

According to the affidavit, the student told Warrick County Sheriff’s Office that they felt bad for Evans and visited the classroom again “after letting him know it’s only due to his emotional status.”

During the second assault, Evans is accused of groping the student while they tried to push him away, including groping the student’s genitals.

According to the affidavit, the student told a friend about both incidents in November. That friend contacted police December 1.

Detectives knew Evans “from a previous case involving a student,” the affidavit states. During that investigation, school faculty interviewed a dozen students, both boys and girls, and passed information from those interviews to the Warrick County Sheriff’s Office.

Safe vs. unsafe secrets:How to talk to kids about sexual abuse

Investigators say students reported a pattern of Evans touching female students inappropriately and walking into the girls’ dressing room when students were not fully dressed. Evans was only accused of crimes in connection with one student.

Several students who were interviewed told a school administrator that Evans touched them in ways that made them uncomfortable, according to the Sheriff’s Office. That included touching girls’ backs, shoulders and thigh areas. One student who was interviewed by detectives after graduating told police that female students talked to each other about the incidents but did not report them to any officials.

The affidavit does not explicitly say whether Evans was the subject of that investigation. Court records show the rape and sexual battery case is the first time Evans was charged with a felony in Warrick County.

Evans was hired as a language arts teacher at Boonville High School in June 2016, according to school board minutes. Warrick County School Corp. reported that Evans resigned December 3.

He was charged with rape as a level 3 felony and sexual battery as a level 6 felony in Warrick Superior Court on Wednesday. Under Indiana law, rape is defined as forcing someone to perform or submit to intercourse or other sexual conduct. Evans was ordered not to have any contact with the victim in the case.

More local news:

Crime:City police report 3 people shot near Downtown Evansville

Food and drink:These new restaurants have announced plans for Evansville and Henderson in 2019

Nonprofits:Aurora of Evansville names new executive director