Ahmad Khan Rahami, the terrorist believed to be responsible for the explosion in Manhattan on Saturday night and an earlier bombing Saturday in New Jersey, was caught and taken into custody Monday after being shot by police, multiple outlets reported.

The New York Times said that photos from the scene showed a man believed to be Rahami lying on the sidewalk, hands cuffed, with a police officer standing over him.

Rahami, 28, was seen on surveillance video planting bombs in Chelsea — both the device that exploded, and another a few blocks away that did not detonate. He is described as a naturalized citizen of Afghan descent who had been living with his family in Elizabeth, New Jersey, The Times reported.

New York Gov. Andrew M. Cuomo, who said Sunday that the attack did not appear to have a link to international terrorism, said new evidence might change things.

“I would not be surprised if we did have a foreign connection to the act,” he said Monday morning on CNN.

The dramatic takedown of Rahami in Linden, New Jersey, came after police issued a cellphone alert to millions of residents in the area, telling them to be on the lookout for the suspect who they described as “armed and dangerous.”

One witness said it appeared a police officer was shot, according to The Times.

Rahami was born in Afghanistan, and his last known address is in Elizabeth, New Jersey.

A law enforcement official told The Times that they had conclusive evidence that Rahami was connected not just to the Manhattan explosion in the Chelsea neighborhood, but also to the Jersey shore bombing that took place on Saturday.