If Ahmad Rahami is responsible for bombing areas of New York and New Jersey this weekend, his campaign was an absolute failure - police found a litany of clues that led them to him.

The 28-year-old naturalized American citizen, who worked at his parents' chicken restaurant in New Jersey, was arrested just over 48 hours after the first explosion in a swift investigation aided by a series of mistakes.

Law enforcement officers say that Rahami's fingerprints and DNA were found at the scene of Saturday's bombing in Chelsea, Manhattan. And that's just the beginning.

Scroll down for video

Alleged NY bomber Ahmad Rahami was filmed on CCTV dragging a bag down a street in Chelsea with his face fully uncovered, helping the FBI identify him as a potential suspect

Rahami (left and right) is said to have made other errors during the bombings and attempted bombings that occurred Saturday and Sunday, including leaving fingerprints and DNA

This is the unexploded device from Chelsea. Rahami is alleged to have used a personal phone, not a disposable phone or 'burner,' as a detonator, helping the FBI identify him as a suspect

The suspect was clearly captured by surveillance cameras near the scene of the Chelsea blast, dragging a bag along the street. His face was uncovered.

RAHAMI'S MISTAKES Ahmad Khan Rahami tried to wage a war of terror against the people of New York and New Jersey, say police, but the campaign was littered with errors and blunders. Of the ten devices he is alleged to have constructed, only two detonated successfully. A third was exploded by a police robot;

The Chelsea bomb was placed on a street with very little foot traffic;

The cell phones used in the bombs are alleged to have been used by the perpetrator to call friends first rather than being disposable phones;

Fingerprints and DNA at the scene of the Manhattan bombing;

Rahami did not cover his face when walking past CCTV cameras, allowing him to be recognized;

A car he had access to was registered driving between New York and New Jersey on the days of the bombings;

If Rahami was indeed the bomber he apparently had no exit plan to escape authorities once his spree finished;

He was ultimately captured after sleeping out in the open and being recognized from wanted posters. Advertisement

He was also captured on camera in New Jersey, again with his face uncovered. Footage and stills from both scenes were distributed by authorities, in the hopes of identifying him.

Electronic toll records showed a car to which he had access was driven from New Jersey to Manhattan and back again on the day of the bombing.

That information came from officials who spoke to The Associated Press on condition of anonymity because they weren't authorized to discuss an ongoing case.

Also, Talking Points Memo noted, a cell phone used in one of the many bombs that failed to detonate was not a 'burner,' or disposable phone.

Instead, the perpetrator had used it to call friends and family - something that was key to identifying Rahami.

Those and other clues spurred officials to publicize his name and photo Monday morning.

But Rahami's failures didn't end there.

The young man, who was born in Afghanistan and who lives with his Muslim family in Elizabeth, New Jersey, had apparently failed to plot any kind of escape route once his campaign was over.

As a result, he ended up sleeping out on the street, in the doorway of a bar in Linden, New Jersey.

The bar owner reported him to police, who recognized him from wanted posters, leading to a shootout that ultimately ended in his capture.

'A lot of technology involved in this, but a lot of good, old-fashioned police work, too,' said New York Police Commissioner James O'Neill.

That technology included text message alerts sent to millions of New Yorkers Monday morning notifying them of Rahami's name and age, and telling them to call 911.

The text, sent via the Notify NYC system which had previously been used to make locals aware of incidents such as a steam pipe explosion and a collapsed crane, also advised to 'See media for pic.'

Rahami was found hours later. Now, O'Neill says, the role of investigators is to 'make sure that we get to the bottom of who's involved and why.'

This image of Rahami from CCTV was also released by New Jersey authorities in the hope of catching him

After surgery for a gunshot wound to his leg, Rahami is being held on $5.2million bail, charged with five counts of attempted murder of police officers.

Federal prosecutors from New York and New Jersey are still weighing charges over the bombings. Rahami remains hospitalized.

With Rahami's arrest, officials said they have no other suspects at large, but cautioned they are still investigating.

William Sweeney Jr., the FBI's assistant director in New York, said there was no indication so far that the bombings were the work of a larger terror cell.

Rahami wasn't on any terror or no-fly watch lists, though he had been interviewed for immigration purposes traveling between the US and Afghanistan, one of the law enforcement officials said.

This is the damage left behind by Saturday's bomb in Chelsea, Manhattan. The cell phones used as timers on the bombs had previously been used to call the perp's friends

Rahami and his family live above their fried-chicken restaurant - called First American Fried Chicken.

The family has clashed with the city over closing times and noise complaints, which the Rahamis said in a lawsuit were tinged with anti-Muslim sentiment.

The lawsuit was terminated in 2012 because one of Rahami's brothers had pleaded guilty to blocking police from enforcing closing hours at the restaurant.

A childhood friend, Flee Jones, said Rahami had become more religious after returning from a trip to Afghanistan several years ago. Still, some of the family restaurant's customers said Rahami was more likely to talk about his interest in cars than to mention faith.

'He's a very friendly guy,' patron Ryan McCann said. 'That's what's so scary.'

Rahami was identified as a suspect on Monday morning, and caught that same day at noon, when he was found sleeping in the doorway of a bar in Linden, New Jersey

If Rahami, seen here being arrested after the shootout, is the bomber, he doesn't appear to have planned an escape route or hiding place

The investigation began when a pipe bomb blew up Saturday morning in Seaside Park, New Jersey, before a charity race to benefit Marines. No one was injured.

Then a shrapnel-packed pressure-cooker bomb exploded Saturday night in New York's Chelsea section, wounding 29 people, none seriously. An unexploded pressure-cooker bomb was found blocks away.

Late Sunday night, five explosive devices were discovered in a trash can at an Elizabeth train station, about three miles from where Rahami was later found asleep in the doorway of a bar.

Investigators are still gathering evidence and have not publicly tied Rahami to those devices, though Sweeney noted they aren't 'ruling anything out.'

The bombs discovered Saturday all used flip cellphones as a trigger and were all made with easily purchasable materials, a federal law enforcement official speaking on condition of anonymity said.

After zeroing in on Rahami and learning of the car that had traveled between New Jersey and New York, authorities pulled it over Sunday night after it headed in the direction of Kennedy airport. The law enforcement officials said at least one of Rahami's relatives was in the car.

All five were questioned and released, Sweeney said. He declined to say whether they might later face charges.

Video shows a glass door shattering due to the Chelsea bomb

Linden Mayor Derek Armstead said the break in the case came Monday morning, when a bar owner reported someone asleep in his doorway.

An officer arrived and confronted Rahami, who pulled a gun and fired, authorities said. The officer was saved by his bulletproof vest. More officers joined in a battle that spilled into the street.

Another police officer was grazed by a bullet. The officers' injuries weren't life-threatening.

Around the time Rahami was captured, President Barack Obama was in New York on a previously scheduled visit for a meeting of the UN General Assembly. He called on Americans to show the world 'we will never give in to fear.'

The bombing spread fear across the New York area and revived anxiety about homegrown terrorism nationwide.

And at the same time as as the East Coast was rattled by the bombings, a man who authorities say referred to Allah wounded nine people in a stabbing rampage at a Minnesota mall Saturday.

He was ultimately shot to death by an off-duty police officer. Authorities are investigating the stabbings as a possible terrorist attack but Sweeney said the incidents are not connected in a press conference Monday.