NEW YORK (CNN) -- A Bosnian immigrant convicted of plotting to bomb New York City's subway system was sentenced to life in prison on Friday.
Adis Medunjanin, 28, had been charged with conspiring to use weapons of mass destruction and conspiring to provide material support to al Qaeda.
During the trial, prosecutors said Medunjanin traveled to Pakistan's tribal region with two high school friends, Pakistani-born Najibullah Zazi and Zarein Ahmedzay, an immigrant from Afghanistan.
His friends pleaded guilty to planning the attack with Medunjanin and testified against him.
Prosecutors said Medunjanin sought to join the Taliban, but ended up being recruited by al Qaeda to perform a suicide mission back in the United States.
Upon their return, the three men hatched a plan to rig backpacks with explosives and blow them up.