A former Box Elder County sheriff’s deputy accused of sexually assaulting women during a series of traffic stops has reached a plea agreement that could land him in state prison for up to five years.

Scott Womack, 37, reached a deal in 1st District Court in which he will plead no contest to one count of custodial sexual misconduct, a third-degree felony, and two counts of attempted custodial misconduct, class A misdemeanors, according to court records.

Prosecutors have agreed to drop nine additional misdemeanor charges, including official misconduct, lewdness, unlawful detention and theft.