A former Philadelphia Police narcotics officer admitted Friday to trading heroin and other drugs for sexual favors from women.

In a brief hearing in federal court, Stanley Davis, 50, pleaded guilty to federal drug distribution charges, telling U.S. District Judge R. Barclay Surrick that he enticed two women he met in Kensington last year into a series of sexual liaisons in New Jersey motel rooms and in his police-assigned vehicle.

Investigators learned of the trysts after one of the women – Rosie Dorothy Forsyth, 28 — was involved in a car wreck Nov. 16 while driving high, in which a 90-year-old woman was injured. The woman died six days after the crash. Upon arrest, Forsyth told investigators about her arrangement with Davis, said Jack McMahon, the officer's attorney.

Because it is not clear whether Forsyth had been using drugs she received from Davis at the time of the wreck, he is not charged with a crime related to her crash.

Davis, who retired earlier this year after 21 years on the police force and a stint on an FBI narcotics squad, faces up to 20 years in prison for drug distribution at a sentencing hearing Dec. 8.