HOUSTON (AP) — A suburban Houston school district police officer who pulled over a female motorist and then asked to lick her feet has been sentenced to 1 year in jail.

Patrick Quinn, a 27-year-old former Cypress-Fairbanks school district police officer, pleaded guilty to official oppression. He was sentenced on Wednesday in Houston.

According to court documents, Quinn stopped the woman in August 2014 and found marijuana paraphernalia but told her he had a foot fetish and would release her if she let him lick her feet or give him her underwear. Investigators say he then changed his mind and let her go.