He rose before the sun in his Brooklyn home and strapped his deadly parcel to himself with zip ties and fasteners.

His goal: to send a twisted anti-American message and kill dozens of people at one of the world’s busiest transit hubs.

Akayed Ullah, his 27-year-old mind fermenting with thoughts of martyrdom for ISIS, donned a dark hooded jacket and a dark backpack to cover his homemade bomb and fell in with New Yorkers on a train beginning their regular work week.

The weapon he had chosen to sow death that morning was a 12-inch pipe, filled with powder and detonated by a pulse from a broken Christmas bulb, powered by a 9-volt battery.

At 6:25 a.m. Monday, a security camera captured him as he began to climb the stairs to the platform of the 18th Ave. subway station.

Akayed Ullah, a 27-year-old Bangladeshi native, was identified as a suspect in the pipe bombing.

“He got on the train ready to go,” a law enforcement source said.

The Bangladeshi native living here legally switched to the A train at the Jay St./MetroTech station and exited the train at the Port Authority Bus Terminal stop. He walked east in the passageway that leads to the Times Square station.

Ullah told police he detonated the bomb after seeing a Christmas poster.

Wires ran from the suspect’s jacket to his pants with something on his body under his coat, sources said. He was reaching for a cell phone. The officers cuffed him and took the backpack and anything else that might be a threat.

Aides to President Trump used the terror attack to blast immigration laws that allowed Ullah to enter the country because he had relatives here — a policy Trump calls “chain migration.”

“The President's policy has called for an end to chain migration and if that had been in place, that would have prevented this individual from coming to the United States,” said White House spokeswoman Sarah Huckabee Sanders.

Ullah, sources said, may also have been motivated by Israel’s recent crackdown on the Palestinians, and particularly by Trump’s decision to recognize Jerusalem as the capital of Israel — a notion that infuriates Muslims.

Two of the three injured people took themselves to Mount Sinai West hospital, and one went on their own to Mount Sinai Queens. They were treated for ringing in the ears, headaches, and chest pains.

Security Guard Christina Bethea was inside the station when the device exploded.

(Theodore Parisienne/for New York Daily News)

“We have every confidence that our justice system will find the truth behind this attack,” said Albert Cahn of the New York chapter of the Council on American-Islamic Relations.

Cahn claimed police had been overly aggressive with younger members of Ullah’s family.

Authorities evacuated the A, C and E trains, but didn’t find any structural damage. The Times Square station was also evacuated. Trains on both lines were bypassing the stations through the morning, officials said. By the evening commute, things had returned to normal.

Cops flooded an address connected to Ullah's family on E. 48th St. in the Flatlands section of Brooklyn, and shut down the block.

A man is taken into an ambulance on a stretcher by authorities after an explosion near Port Authority Bus Terminal on 42nd st and Eighth Ave. on Monday.

(David Cranford)

Kisslyn Joseph, 19, a neighbor, said she could hear someone pacing there before dawn there Monday.

“I could hear somebody on the phone and it was kind of strange,” she said. “It was the tone of voice and they were swearing.”

Detectives also went to a building on Newkirk Ave. in Brooklyn — possibly a garage — where Ullah may have stored equipment, sources said.

The FBI’s Joint Terrorism Task Force was brought in to help investigate the attack.

Ulises Sanchez, 53, saw people come pouring out on the street after the blast.

“A lady told me, ‘Go away. There was an explosion down there,’” Sanchez said. “Everybody was trying to get out.”

The blast comes amid calls from ISIS to attack the Big Apple during the Christmas season, and follows the Halloween terror attack in lower Manhattan.

Sayfullo Saipov, a 29-year-old Uzbekistan immigrant, has been charged with speeding down the West Side bike lane in a rented Home Depot truck, killing eight people and injuring 12 on Oct. 31.

Saipov, who said he was also inspired by ISIS, has pleaded not guilty and is waiting trial.

Officers respond to the blast at the Port Authority on 42nd St. and Eighth Ave. in Manhattan.