He was sentenced to three years in prison.