Man sentenced to prison for drug and witness tampering