A depraved Illinois high school teacher repeatedly had sex with a 14-year-old boy in hotels and her car, federal prosecutors allege.

Dayna Chidester, a 51-year-old former consumer and family science teacher at Reed-Custer High School in Braidwood, was busted Wednesday by FBI agents for allegedly having sex with the boy up to 20 times late last year, including trysts at suburban Chicago hotels, the Chicago Tribune reports.

Chidester, who initially was charged in January, was meeting up with the boy for sex for months when federal prosecutors claim she texted a student at her school, saying that she was repulsed by her behavior.

“It’s horrible,” Chidester wrote about her ongoing relationship with the teen, who attended another school, according to a 13-page criminal complaint filed Wednesday. “[I] can go to jail.”

Chidester, who resigned after being initially charged in Will County in January, was free after posting $1 million bond on six counts of aggravated criminal sexual abuse and other charges. Prosecutors dropped those state charges Wednesday, the Tribune reports.

Investigators in Will County identified the alleged victim after a student at Reed-Custer reported that Chidester had been texting him. A subsequent search of his cellphone revealed nude photos of the teacher, as well as more than 9,000 text messages they sent each other since last September, according to the complaint.

The boy later told police he had sex with Chidester between 15 and 20 times at various locations and admitted that they swapped nude photos of themselves.

The steamy shots included one shot of the boy lying on the floor with his genitals exposed, a picture Chidester allegedly took while the pair were in her bedroom, the Chicago Sun-Times reports.

“She said I looked hot,” the teen said when asked why Chidester took the photo, according to an affidavit obtained by the newspaper.

The two also spoke on the phone hundreds of times between September and December 2018, prosecutors claim.

Chidester, who was arrested one day after the victim’s videotaped interview, then confessed to investigators that she had sex with the teen, whom she showered with gifts, including a robe and a skateboard, according to the complaint.

Chidester, of the village of Manhattan, was ordered held until a detention hearing Friday after prosecutors said she poses a flight risk and a danger to the community. She faces a mandatory minimum of 15 years in prison if convicted of sexual abuse of a minor, the Tribune reports.

A message seeking comment from Reed-Custer School District was not immediately returned Thursday.