Police have arrested a man on charges he raped a woman on the same upper Manhattan rooftop where they say he lured another victim two months earlier.

The NYPD said Monday that Taurean Williams was free on bail in the first case when he struck again last week.

Police allege Williams told his 45-year-old victim he was an undercover detective and pulled a gun on her before the attack. He was arrested Sunday after the woman identified him from a photo.

The 25-year-old Williams also had been charged with rape in October. He ended up pleading guilty to a lesser charge of stealing the victim's cell phone. He was set to be sentenced later this month.

The name of his attorney was not immediately available.