A man was sentenced to 35 years in prison after pleading guilty to multiple counts of armed carjacking and aggravated assault, Hinds County District Attorney Jody E. Owens, II, announced Wednesday.