RUPERT, Idaho (AP) — A south-central Idaho man police say locked a woman and her children in a bedroom and monitored them while at work by using a cellphone application has been sentenced to 10 years in prison.

The Times-News reports (http://bit.ly/2vQ8b7C ) that 25-year-old Joshua Brock Winmill received the sentence earlier this week in 5th District Court.

Winmill must serve five years before becoming eligible for parole. He's been in custody for about a year.

Winmill in June pleaded guilty to two counts of felony aggravated assault, possession of a firearm by a felon and a misdemeanor count of violation of a no-contact order.

Two counts of domestic battery were dismissed as part of the deal.

___

Information from: The Times-News, http://www.magicvalley.com