BOSTON — A college friend of Boston Marathon bombing suspect Dzhokhar Tsarnaev has pleaded guilty to impeding the investigation into the deadly attack.

Twenty-year-old Dias Kadyrbayev (pronounced DY’-us kah-dur-BY’-ehv) is accused of removing a backpack containing emptied-out fireworks from Tsarnaev’s dorm room after realizing he was suspected of carrying out the 2013 attack with his brother, Tamerlan.

Prosecutors said Kadyrbayev and another friend, Azamat Tazhayakov (AZ’-maht tuh-ZAY’-uh-kahv), decided to take the items from Tsarnaev’s room at the University of Massachusetts-Dartmouth several days after two bombs exploded near the finish line of the marathon, killing three people and injuring more than 260.

The items were removed hours after the FBI publicly released photographs of the bombing suspects.

His trial had been set to begin next month on obstruction of justice and conspiracy charges.