Man sentences to 20 years in prison for death threats against judge