A Denver man was sentenced on Wednesday to 21 years in prison after pleading guilty to human trafficking as part of a plea deal.