Former police officer sentenced to year in prison