NEW YORK — Quazi Mohammad Rezwanul Ahsan Nafis was a terrible student in his native Bangladesh, and his middle-class parents say he persuaded them to send him off to study in the U.S. as a way of improving his job prospects.

At the Missouri college where he enrolled, one classmate said Nafis often remarked that true Muslims don't believe in violence – an image that seemed startlingly at odds with Nafis' arrest in an FBI sting this week on charges of trying to blow up the Federal Reserve Bank in New York with what he thought was a 1,000-pound car bomb.

"I can't imagine being more shocked about somebody doing something like this," said Jim Dow, a 54-year-old Army veteran who rode home from class with Nafis twice a week. "I didn't just meet this kid a couple of times. We talked quite a bit, sir. And this doesn't seem to be in character."

Federal investigators, often accused by defense attorneys of entrapping and leading would-be terrorists along, said the 21-year-old Nafis made the first move over the summer, reaching out for accomplices and eventually contacting a government informant, who then went to federal authorities.

They said he also selected his target, drove the van loaded with dummy explosives up to the door of the bank, and tried to set off the bomb from a hotel room using a cellphone he thought had been rigged as a detonator.

During the investigation, he and the informant corresponded via Facebook and other social media, talked on the phone and met in hotel rooms, according to a law enforcement official who was not authorized to speak publicly and spoke on condition of anonymity.

Nafis spoke of his admiration for Osama bin Laden, talked of writing an article about his plot for an al-Qaida-affiliated magazine, and said he would be willing to be a martyr but preferred to go home to his family after carrying out the attack, authorities said. And he also talked about wanting to kill President Barack Obama and bomb the New York Stock Exchange, a law enforcement official said.

Investigators said in court papers that he came to the U.S. bent on jihad and worked out the specifics of a plot when he arrived. While Nafis believed he had the blessing of al-Qaida and was acting on behalf of the terrorist group, he has no known ties, according to federal officials.

Nafis, who at the time of his arrest Wednesday was working as a busboy at a restaurant in Manhattan, was jailed without bail. His attorney has not commented on the case, but in other instances where undercover agents and sting operations were used, lawyers have argued entrapment.

Investigators would not say exactly how he initially contacted the government informant.

Police Commissioner Raymond Kelly, whose department had a role in the arrest as a member of a joint federal-state terrorism task force, said the entrapment argument rarely prevails.

"You have to be otherwise not disposed to do a crime," Kelly said. "And if it's your intent to do a crime, and somehow there are means made available, then generally speaking, the entrapment defense does not succeed."

Nafis' family in Dhaka, Bangladesh, denied he could have been involved – he was incapable of such actions and came to America to study, not to carry out an attack, his parents said. His father, a banker, said Nafis was so timid he couldn't venture out onto the roof alone.

"My son couldn't have done it," Quazi Ahsanullah said, weeping.

"He is very gentle and devoted to his studies," he said, pointing to Nafis' time studying at the private North South University in Dhaka.

Belal Ahmed, a spokesman for the university, said Nafis was a terrible student who was put on probation and threatened with expulsion if he didn't bring his grades up. Nafis eventually stopped coming to school, Ahmed said.

Ahsanullah said his son persuaded him to send him to America to study, arguing that a U.S. degree would give him a better chance at success in Bangladesh. "I spent all my savings to send him to America," the father said.

Nafis moved to Missouri, where he studied cybersecurity at Southeast Missouri State University. He also became vice president of the school's Muslim Student Association and began attending a mosque.

But he withdrew after one semester and requested over the summer that his records be transferred to a school in Brooklyn. The university declined to identify which school.

Dow, his former classmate at Southeast Missouri State, said Nafis spoke admiringly of bin Laden. At the same time, "he told me he didn't really believe bin Laden was involved in the twin towers because he said bin Laden was a religious man, and a religious man wouldn't have done something like that," Dow said.

He said Nafis gave Dow a copy of the Quran and asked him to read it. But he "didn't rant or rave or say crazy stuff," Dow said.

"What really shocked me the most was he had specifically spoken to me about true Muslims not believing in violence," Dow said.

Dion Duncan of St. Louis, a fellow student and member of the Muslim organization, said: "Nafis was a good kid. He showed no traces of anti-Americanism, or death to America, or anything like that. He was a trustworthy, honest kid."

"He was polite and courteous. He was helpful. All the things you would expect from a good Muslim kid. He prayed five times a day," Duncan said.

___

Associated Press Writers David B. Caruso in New York, Jim Suhr in St. Louis, and Farid Hossain in Dhaka, Bangladesh, contributed to this report.

Also on HuffPost:

Loading Slideshow...
  • Alabama State Capitol (Montgomery, Ala.)

    Pictured on Tuesday, Feb. 7, 2012. (AP Photo/Dave Martin)

  • Alaska State Capitol (Juneau, Alaska)

    Pictured on Tuesday, Jan. 18, 2011. (AP Photo/Chris Miller)

  • Arizona State Capitol (Phoenix)

    Pictured on Friday, April 23, 2010. (Photo by John Moore/Getty Images)

  • Arkansas State Capitol (Little Rock, Ark.)

    Pictured on Wednesday, Nov. 30, 2011. (AP Photo/Danny Johnston)

  • California State Capitol (Sacramento, Calif.)

    Pictured on Thursday, Jan. 5, 2006. (Photo by David Paul Morris/Getty Images)

  • Colorado State Capitol (Denver)

    Pictured on Thursday, Oct. 26, 2006. (Photo by Doug Pensinger/Getty Images)

  • Connecticut State Capitol (Hartford, Conn.)

    Pictured on Tuesday, Feb. 7, 1999. (AP Photo/Bob Child)

  • Delaware State Capitol (Dover, Del.)

  • Florida State Capitol (Tallahassee, Fla.)

    Pictured on Monday, Jan. 3, 2011. (AP Photo/John Raoux)

  • Georgia State Capitol (Atlanta)

    Pictured on Tuesday, November 13, 2007. (Photo by Jessica McGowan/Getty Images)

  • Hawaii State Capitol (Honolulu)

  • Idaho State Capitol (Boise, Idaho)

    Pictured on Monday, Jan. 14, 2008. (Ned Dishman/NBAE via Getty Images)

  • Illinois State Capitol (Springfield, Ill.)

    Pictured on Tuesday, Sept. 21, 2004. (AP Photo/Seth Perlman)

  • Indiana State Capitol (Indianapolis)

    Pictured on Saturday, Feb. 4, 2012. (Photo by Jeff Gross/Getty Images)

  • Iowa State Capitol (Des Moines, Iowa)

    Pictured on Wednesday, Aug. 10, 2011. (Photo by Chip Somodevilla/Getty Images)

  • Kansas State Capitol (Topeka, Kan.)

    Pictured on Thursday, April 15, 2010. (AP Photo/Orlin Wagner)

  • Kentucky State Capitol (Frankfort, Ky.)

    Pictured on Wednesday, April 12, 2006. (AP Photo/James Crisp)

  • Louisiana State Capitol (Baton Rouge, La.)

    Pictured on Monday, Jan. 14, 2008. (Matthew HINTON/AFP/Getty Images)

  • Maine State Capitol (Augusta, Me.)

    Pictured on Monday, Oct. 17, 2011. (AP Photo/Pat Wellenbach)

  • Maryland State House (Annapolis, Md.)

    (Photo by Patrick Smith/Getty Images)

  • Massachusetts State House (Boston)

    Pictured on Tuesday, Jan. 2, 2007. (Photo by Darren McCollester/Getty Images)

  • Michigan State Capitol (Lansing, Mich.)

    Pictured on Wednesday, April 13, 2011. (Photo by Bill Pugliano/Getty Images)

  • Minnesota State Capitol (St. Paul, Minn.)

    Pictured on Friday, July 1, 2011. (Photo by Hannah Foslien/Getty Images)

  • Mississippi State Capitol (Jackson, Miss.)

    Pictured on Thursday, June 10, 1999. (AP Photo/Rogelio Solis)

  • Missouri State Capitol (Jefferson City, Mo.)

    Pictured on Friday, Oct. 16, 2000. (Photo credit should read ORLIN WAGNER/AFP/Getty Images)

  • Montana State Capitol (Helena, Mont.)

  • Nebraska State Capitol (Lincoln, Neb.)

    Pictured on Wednesday, Nov. 25, 1998. (AP Photo/S.E. McKee)

  • Nevada State Capitol (Carson City, Nev.)

  • New Hampshire State House (Concord, N.H.)

    Pictured on Friday, Dec. 28, 2001. (Todd Warshaw//Pool/Getty Images

  • New Jersey State House (Trenton, N.J.)

    Pictured on Friday, Aug. 13, 2004. (Photo by Chris Hondros/Getty Images)

  • New Mexico State Capitol (Santa Fe, N.M.)

  • New York State Capitol (Albany, N.Y.)

    Pictured on Sunday, March 16, 2008. (Photo by Daniel Barry/Getty Images)

  • North Carolina State Capitol (Raleigh, N.C.)

    Pictured in 1930. (AP Photo)

  • North Dakota State Capitol (Bismarck, N.D.)

    Pictured on Thursday, April 19, 2012. (AP Photo/Dale Wetzel)

  • Ohio Statehouse (Columbus, Ohio)

    Pictured on Tuesday, March 8, 2011. (Photo by Mike Munden/Getty Images)

  • Oklahoma State Capitol (Oklahoma City)

    Pictured on Wednesday, Feb. 29, 2012. (AP Photo/Sue Ogrocki)

  • Oregon State Capitol (Salem, Ore.)

    Pictured on Friday, May 20, 2011. (AP Photo/Rick Bowmer, file)

  • Pennsylvania State Capitol (Harrisburg, Pa.)

    Pictured on Thursday, June 28, 2012. (BRIGITTE DUSSEAU/AFP/GettyImages)

  • Rhode Island State House (Providence, R.I.)

    Pictured on Wednesday, Aug. 1, 1945. (AP Photo)

  • South Carolina State House (Columbia, S.C.)

    Pictured on Monday, Jan. 21, 2008. (Photo by Chris Hondros/Getty Images)

  • South Dakota State Capitol (Pierre, S.D.)

    Pictured on Tuesday, Jan. 10, 2012. (AP Photo/Doug Dreyer)

  • Tennessee State Capitol (Nashville, Tenn.)

    Pictured on Tuesday, Sept. 30, 1941. (AP Photo)

  • Texas State Capitol (Austin, Texas)

    Pictured on Tuesday, Oct. 4, 2011. (MIRA OBERMAN/AFP/Getty Images)

  • Utah State Capitol (Salt Lake City)

    Pictured on Thursday, March 15, 2001. (GEORGE FREY/AFP/Getty Images)

  • Vermont State House (Montpelier, Vt.)

    Pictured on April 9, 1953. (AP Photo/Francis C. Curtin)

  • Virginia State Capitol (Richmond, Va.)

    Pictured on Wednesday, May 2, 2007. (Photo by Chris Jackson/Getty Images)

  • Washington State Capitol (Olympia, Wash.)

    Pictured on Wednesday, Jan. 18, 2012. (AP Photo/Rachel La Corte)

  • West Virginia State Capitol (Charleston, W.V.)

    Pictured on July 2, 2010. (MANDEL NGAN/AFP/Getty Images)

  • Wisconsin State Capitol (Madison, Wis.)

    Pictured on Saturday, Dec. 24, 2011. (KAREN BLEIER/AFP/Getty Images)

  • Wyoming State Capitol (Cheyenne, Wyo.)

    Pictured on Tuesday, March 6, 2001. (Photo by Michael Smith/Newsmakers)