SACRAMENTO (CBS13) — A Sacramento County Sheriff’s Deputy on trial for charges of having sex with a 16-year-old has pleaded guilty.

Shauna Bishop was arrested back in 2019. She was facing four counts of unlawful sexual conduct with a minor, as well as a misdemeanor count of annoying or molesting a child.

Deputy Shauna Bishop stands beside a suspect in court while on duty.

The Sacramento County District Attorney’s Office revealed that Bishop had pleaded guilty on Wednesday to one count of unlawful sexual intercourse. The other four charges were dismissed.

Bishop will be required to register as a sex offender, according to the court. She also faces up to one year behind bars, and five years of formal probation.

RELATED: Documents Reveal Disturbing Details Of Sacramento County Sheriff Deputy Shauna Bishop’s Alleged Sex With Teen

Court documents had previously revealed that the teen’s father — who also worked for the Sacramento County Sheriff’s Department — expressed concern to his ex-wife about Bishop’s relationship with the boy. The father claimed Bishop was “grooming” the teen.

The five-year veteran resigned from the department in August 2019 after she was arrested. She had most recently worked as a patrol deputy at the north station.

Bishop is scheduled to be sentenced on September 23.