GILLETTE, Wyo. (AP) — A former Wyoming psychologist accused of using his position of authority to have sex with two of his patients has been sentenced to two consecutive three- to five-year terms.

Joshua Popkin was sentenced Thursday after previously pleading no contest to two counts of second-degree sexual assault. He also must pay restitution and register as a sex offender.

One of Popkin's accusers told investigators he preyed on her, worked his way into her head and used things that he knew about her in order to sleep with her. He worked as a psychologist with Campbell County Health from Nov. 2, 2015, to May 25, 2016.

Under a no-contest plea, a defendant does not admit guilt but acknowledges that prosecutors may have enough evidence to convict.

More From K2 Radio