SHERIDAN, Wyo. (AP) — The Wyoming Supreme Court has upheld the sentence of a man who was 15 years old when he killed a Sheridan businessman eight years ago.

Dharminder Vir Sen was sentenced to serve at least 35 years in prison before being eligible for parole in the home-invasion murder of Robert Ernst in 2009.

He was convicted of first-degree murder, conspiracy to commit aggravated burglary and aggravated burglary.

Sen argued that the 35-year sentence amounts to a life sentence and is unconstitutional.

It was one of several appeals Sen has filed challenging his sentence. He originally was sentenced to life in prison without parole. The Wyoming Supreme ordered him resentenced because of federal court rulings affecting life sentences for juvenile offenders.