SIOUX CITY, IA (ABC9)- The man accused of shooting a Sioux City man in October of last year and dumping his body in South Dakota accepted a plea agreement on Thursday and was sentenced to 35 years in prison. 

20-year-old Martin Castellanos pleaded guilty to Attempted Murder and Willful Injury in connection to the death of 20-year-old Adrian Rojas-Hernandez. Castellanos was originally charged with 1st Degree Murder. 

According to court documents, Castellanos and Rojas-Hernandez were partying at a home on West 15th street the night the incident happened. The documents allege that the two got into an argument before leaving the party. They then went back to another home on the west side. 

Authorities say that Castellanos shot Rojas-Hernandez in the head at that home on the 1400 block of West 15th Street in Sioux City on October 27th of last year. He then took the body to a rural area near Worthing, South Dakota in Lincoln County. There, authorities say he burned Rojas-Hernandez’s body and left it in a ditch. 

Castellanos was sentenced to 25 years in prison for Attempted Murder and 10 years in prison for Willful Injury in connection to the incident. The two sentences will be served consecutively, and he will have serve a minimum of 22 and a half years in prison. Castellanos was also ordered to pay $150,000 dollars to the victim’s family.