The U.S. Attorney's Office said Tuesday that an Alaska man was sentenced to serve 10 years in federal prison following a conviction for online solicitation of a minor. 

Herbert Barr, 51, of Elim, a rural village in the Nome census area, pleaded guilty to attempted sexual exploitation of a minor - coercion and enticement of a minor back in late-October of last year. 

Barr was arrested by Alaska State Troopers in July of 2017. Prosecutors said in court that over a one-week period last July, Barr sent numerous text message of a minor "trying to persuade her to allow him to sexually abuse her". 

After rejecting his offer, the minor female told her parents who then contacted troopers. 

Troopers began investigating, and prosecutors say Barr continued sending the girl messages, even going as far as offering money. 

Barr was sentenced to serve 10 years in federal prison, followed by a 20-year term of supervised release. 

Copyright 2018 KTVA. All rights reserved.