NEW YORK (CBSNewYork) — A Brooklyn man was arrested Wednesday on charges of rape and impersonating a police officer in connection with an incident last month, according to the NYPD.

An 18-year-old woman was walking to buy cigarettes on Gates Avenue and Broadway in Bushwick on Oct. 2 when Walter Barnes, 47, pulled up in a brown 2010 Lexus and offered to give her a ride, police said.