William Giordani, 55, pleaded guilty in federal court in Boston to a single charge for placing a bag with fireworks, a metal safe and wires on a bench on Harvard's campus in Cambridge, Massachusetts. It prompted an evacuation of the area in April.

Prosecutors said Giordani acted in response to a Craigslist ad by someone claiming to be a Harvard student's father who offered $300 for Giordani to deliver materials needed for a science project.

Assistant U.S. Attorney John McNeil in court said Giordani's crime was driven by a drug habit and that he told his drug dealer the materials sounded like they were possibly for a bomb.

Yet Giordani still bought the materials and left them on the school's campus on April 13 as instructed by the Craigslist poster, McNeil said.

Harvard's police department then received calls from a "computer generated male voice" claiming three bombs were planted on campus that would detonate unless the school paid a "large" amount of bitcoin, according to court papers.

A Cambridge police bomb squad executed a controlled destruction of the bag with robotic device.

McNeil said the Craigslist poster told Giordani he had been "hoping to cause a panic." According to court papers, Giordani said the individual spouted "racist things about Blacks and Jews."

Giordani was arrested in May. Under a plea deal, prosecutors will drop one of two counts against him, and he pleaded guilty to a single count for not reporting the hoax.

While that charge carries up to three years in prison, McNeil said prosecutors will recommend U.S. District Judge Angel Kelley sentence him on April 25 to three years of probation, citing his progress in intensive drug treatment. No one else has been charged over the hoax.

(Reporting by Nate Raymond in Boston, Editing by Alexia Garamfalvi and Cynthia Osterman)

By Nate Raymond