As of Wednesday night, police were still looking for the attacker.

A 21-year-old man wanted for beating up an off-duty New York City police officer in the Bronx – and taking her gun – is in custody Friday morning after authorities nabbed him in Northeast Philadelphia. Samuel Thornton, 21, was nabbed at a home on Vankirk Street in Philadelphia, arrested by NYPD and US Marshals around noon.

The building’s surveillance camera captured Thornton, who police said jumped the 41-year-old officer as she walked to her auto, snatching her gold necklace. The suspect grabbed at the female officer’s bag in a garage as she headed to work, and after a struggle, made off with more than just her purse.

The purse also fell to the ground during the confrontation, but the suspect was able to get the woman’s gun.

When he was apprehended, he told police where he hid it, cops said. The woman was taken to Montefiore Medical Center to be checked out.

Thornton allegedly punched Quezada four times, landing haymaker after haymaker on the mother of two as he demanded she let the handbag go, said Robert Rodriguez, superintendent of the building in Wakefield. It was not clear whether he will waive or fight extradition to New York, sources said.

“Thank God my husband was with me”, she said.

Residents said the parking garage doors are supposed to stay shut down at all times for security reasons.

Thornton had been arrested in the area previously for selling pot, officials said.