Man sentenced to nine years in drug case