Here is the moment an explosive device in a trash can blew up near a New Jersey train station early Monday.

The blast erupted around 12:30 a.m. nearby the Elizabeth train station as a bomb squad from the FBI was using a robot to deactivate one of five separate devices discovered in the same backpack, Elizabeth Mayor Christian Bollwage said.

The bomb robot was “cutting wires” on the device to disable it when it inadvertently went off. There were no reported injuries as a result of the explosion.

Authorities mobilized after the suspicious device was found in a trash can on North Broad Street and Julian Place by two men hours earlier, around 8:30 p.m. Sunday.

The men notified authorities after noticing wires and a pipe coming out of the bag.

Bollwage said to expect more detonations.

“I can imagine that if all five of them went off at the same time, that the loss of life could have been enormous if there was an event going on,” Bollwage said.

NJ Transit service was suspended early Monday between Newark Liberty Airport and Elizabeth and all New Jersey-bound Amtrak trains were held at Penn Station while New York-bound Amtrak trains were being held in Trenton.

The discovery of the suspicious devices came a day after a powerful explosion rocked Manhattan’s Chelsea neighborhood, injuring 29 people. An unexploded pressure-cooker device was found blocks away.

Earlier on Saturday a pipe bomb exploded in Seaside Park, New Jersey, where thousands were gearing up for a military charity 5K run.

Investigators didn’t immediately comment on whether they thought the Elizabeth incident was connected to either of the two blasts.

Meanwhile, FBI agents nabbed five men in Brooklyn who may be connected to the Chelsea explosion.

The FBI and NYPD said Monday that they are looking for 28-year-old Ahmad Khan Rahami in connection with the bombing in Chelsea.