A Montana man has been sentenced to nearly two years in prison after he pleaded guilty to multiple drug charges.