A former Atlanta police officer will spend two years in prison for sexually assaulting a woman while on duty.

Kevin Head, 32, pleaded guilty Monday to charges of sodomy and violation of oath of office, Fulton County District Attorney Paul Howard said. Upon his release from prison, Head will serve eight years' probation.

Head was patrolling an area of Ralph David Abernathy Boulevard on June 15, 2004, when he offered to drive a 44-year-old woman to a MARTA station, Howard said.

The woman accepted but instead of driving her to the train station, Head detoured to an empty warehouse a short distance away. There, the officer groped the victim and demanded oral sex from her in his patrol car.

Head cleaned himself with a piece of notebook paper, which was later used as evidence, Howard said. He then took the woman to the MARTA station and gave her $3 for fare. The woman reported the incident to police.

Head, who began his employment as an Atlanta officer in 2000, resigned in 2006 while under administrative investigation.