A Bozeman man who admitted to trafficking cocaine after an investigation determined he received packages of cocaine and large amounts of cash was sentenced Thursday to eight years in prison and to seven years of supervised release, according to Acting U.S. Attorney Leif M. Johnson.