A former Miss Kentucky who worked as a teacher in West Virginia has admitted to exchanging sexual photos with a 15-year-old student.

Ramsey BethAnn Bearse, 29, pleaded guilty Tuesday to one count of possessing material depicting minors in sexually explicit conduct.

She told the court that she made a mistake when talking with the teen on Snapchat last year.

A teacher and former Miss Kentucky is pictured after she was arrested for exchanging explicit images with a 15-year-old boy at the school she worked in (left). Ramsey BethAnn Bearse, 29, won the state beauty competition in 2014 (right), impressing the judges with her bluegrass fiddle playing

Authorities say she and the student exchanged photos between August and October 2018.

An image shows Bearse in the 2014 Miss Kentucky swimsuit round. One of the student's parents then found lewd photos of Bearse on the student's phone, according to a criminal complaint

One of the student's parents then found lewd photos of Bearse on the student's phone, according to a criminal complaint. She was arrested in December 2018.

Bearse, who was crowned Miss Kentucky in 2014 under her maiden name of Carpenter, meant to send a risque photo to her husband, but accidentally sent it to the teen, she told the court.

She claimed the student asked for additional photos and so she continued to send them because 'I was afraid to not appease him.'

'Since I am the adult, and he was just a teenager, it is my fault, and I accept full blame for the situation,' Bearse said.

'So that’s how I’m guilty of this crime. I messed up big-time.'

According to abcnews, Bearse impressed the Miss Kentucky judges in 2014 by playing bluegrass music on her fiddle.

After the win, she went on to act as a spokeswoman for the National Multiple Sclerosis Society and featured in interviews to talk about being diagnosed with the central nervous system disease in 2010.

Bearse worked as an eighth-grade science teacher at Andrew Jackson Middle School in Cross Lanes, West Virginia.

She was charged with four felony counts of distribution or display of obscene matter to minors.

Picture shows police escorting Bearse after her arrest in December 2018. Bearse worked as an eighth-grade science teacher at Andrew Jackson Middle School in Cross Lanes, West Virginia

Bearse faces up to two years in prison when sentenced in January, in addition to the possibility of being ordered to register as a sex offender for the rest of her life and being on probation for up to 50 years after her release.

She's currently out of custody on bond.