The former inspector has been jailed for 10 years.