Omar Faraj Saeed Al Hardan admitted he associated with jihadis, swore an oath to Islamic State terrorists, lied on a passport application and stockpiled materials to make remote detonators at his west Houston apartment. And he discussed decapitating Americans for the cause.

But he drew the line at bombs.

"I am not a bombmaker," the defendant told a federal judge. "I have no experience with electronics."

U.S. District Judge Lynn N. Hughes said it was his intent, and not his skillset, that qualified the Iraqi born refugee for 16 years in prison. The judge explained the sentence was for "what you planned and attempted to do, however inept you may have been at executing that plan."

"Clumsy bombmakers, stupid planners have killed a lot of people," the judge added.

Assistant U.S. Attorney Ted Imperato asked Hughes to give him a 20-year term based on sentences that had been given to other U.S. defendants convicted of making plans to go overseas for ISIS.

However, defense attorney David Adler asked the judge to stay within sentencing guidelines.

Al Hardan, 25, is a Palestinian who came to the U.S. as a refugee in 2009. He was able to become a legal permanent resident, and lived in Houston and Dallas where he cared for his medically compromised parents, and had a wife and a child. To earn money, he drove an Uber and performed state inspections on cars.

But that wasn't all he did.

"He made some very bad decisions," his attorney Adler acknowledged, but said he had been isolated from society at the time.

Isolated from society

The Houston refugee was ultimately snared as a result of various conversations he had, including with informants the FBI had introduced. He also participated in training with a fully automatic AK-47 at a remote location near Houston.

Since he was jailed two years ago, Al Hardan had developed an appreciation of how fortunate he and his family were to settle in the U.S., Adler said. Before, Al Hardan "had very little contact outside his family, very little contact with English-speaking Americans and that led him to believe a lot of things he saw online that he no longer believes," the lawyer said.

Adler said his client had strong support from his parents and wife, but his family had chosen to stay away from the sentencing to avoid media attention.

Al Hardan is one of three Houston-area men and eight defendants statewide who have been charged with plans to support ISIS, according to Seamus Hughes, an expert on ISIS cases at George Washington University's Program on Extremism. The program has tracked 149 people charged in 28 states and the District of Colombia since March of 2014 with attempting or providing material support to ISIS, which in many cases means an allegation of offering up oneself for the cause.

Those accused of becoming radicalized come from an array of ethnic, social, economic and educational backgrounds, according to Hughes' analysis. The nearly 90 defendants who have pleaded guilty have been given prison terms of 13.5 years on average. Some defendants have been charged with attempting to join the jihadist fight overseas and others with trying to organize attacks on U.S. soil.

Al Hardan, a Palestinian born in Iraq who had lived in refugee camps in Iraq and Jordan, had contemplated both avenues of material support while living in Houston, according to court records. He was indicted on Jan. 6, 2016, on allegations he had offered himself up to ISIS as an explosive expert, hoping he could go overseas and join the terrorist cause.

During testimony at a detention hearing, an agent from Homeland Security Investigations mentioned Al Hardan had talked about bombing a military base in Grand Prairie. The agent said the defendant discussed with an informant steps he would take to he would carry out a local attack ­- including disguising his appearance.

When investigators searched his home, they confiscated circuitry components, a soldering iron, wireless remotes and several unactivated cellphones in the west Houston apartment where he lived with his parents, 18-year-old wife and infant son.

He pleaded guilty on Oct. 17, 2016, to attempting to provide support to ISIS.

Years of planning

According to court documents, Al Hardan communicated online in April 2013 with Aws Mohammed Younis Al-Jayab, an Al-Nusra recruit in Sacramento who is charged with related federal offenses in California and Illinois. Al-Jayab said he'd been to the front and wanted to return. Al Hardan said he wanted to go with him.

But while Al Hardan's communication with Al-Jayab and two Al-Nusra leaders petered out, he continued buying bombmaking materials on eBay and made multiple statements that he wanted to be a martyr for the ISIS cause, according to his plea.

In one social media post, he stated, "I want to blow myself up. I want to travel with the Mujahidin. I want to travel to be with those who are against America. I am against America."

In June 2014, the FBI introduced a confidential source who met in person with Al Hardan 17 times, according to court documents. The pair discussed going overseas to engage in activities Al Hardan knew were considered in terrorism by the U.S. government.

In November 2014, he met with the source and swore a loyalty oath, according to court documents.

Two days after that meeting they met for a one-hour tactical training in a remote area outside Houston, where Al Hardan practiced with a fully automatic AK-47. He told this source in 2014 and early 2015 that he wanted to learn to use cellphones as detonators to set off improvised bombs abroad for ISIS. He told the informant he would train using online videos and a manual he had obtained on a CD, according to his plea. He also showed the source a circuit board he built to be used as a remote detonator.

On Aug. 18, 2014, Al Hardan checked the box on an application to become a naturalized U.S. citizen indicating that he didn't associate with any terrorist organizations, according to court documents. But from the time of his application until 2015, he continued to buy electronic components to make circuitry and the tools to assemble bomb detonators.

Crime was 'checking that box'

After nearly two years in federal detention, Al Hardan appeared in court Monday in an olive green jail uniform, his hair parted and slicked back. He wore earphones to hear the Arabic court translator.

Judge Hughes gave him a chance to speak, but questioned him throughout the sentencing.

"I want to apologize for the wrong I've done," he told the judge in accented English, reading from notes, saying he had been "foolish" and he would never do it again.

"I didn't plan to attack any place or plan to hurt someone," he said, emphasizing that the informant had been the one who suggested specific places to attack. "Your honor, I'm not trying to make any excuses, but I didn't plan to hurt nobody."

"Did you vehemently disassociate yourself from that suggestion?" the judge asked.

Al Hardan's lawyer jumped in, saying it was a mistake for his client not to end contact immediately with the informant.

The judge said it wasn't a crime to say stupid or violent things on social media "or we'd have to fill half the country with prisons," he said.

People are free to own an ISIS flag, they're free to watch videos about making bombs and improvised devices, the judge noted. Al Hardan's crime was in checking that box, lying on his passport so he could carry out his plan to go to Syria and be a bombmaker for ISIS. It was planning and training.

Al Hardan was ordered to serve 16 years in prison followed by a lifetime of supervised release, if immigration authorities allow him to remain in the country.