A Nespelem man was sentenced to 18 years in federal prison for sex crimes involving children that happened on the Confederated Tribes of the Colville Reservation.