He will spend 10 to 25 years in prison.