NEW YORK (AP / WCBS 880) — A former top aide to Osama bin Laden has been sentenced to prison for life for stabbing a New York City prison guard as he awaited a terrorism trial.

LISTEN: WCBS 880’s Irene Cornell tells the story like nobody else can!

READ MORE: $94 Million Project To Rebuild Hinchliffe Stadium In Paterson Now Underway

Federal Judge Deborah Batts sentenced Mamdouh Mahmud Salim on Tuesday in the 2000 stabbing of guard Louis Pepe. The stabbing left Pepe brain-damaged and blind in one eye.

A federal appeals court said the judge should have imposed a terrorism enhancement to increase the sentence when she first sentenced Salim in 2004. At the time, she gave him a 32-year prison term.

READ MORE: Authorities: New York Woman Kidnapped, Sexually Assaulted In New Jersey

Salim was brought to the U.S. after his 1998 arrest to stand trial in the August 1998 bombings of two U.S. embassies in Africa.

The attacks killed 224 people, including a dozen Americans.

MORE NEWS: New Jersey Man Who Was Arrested On Child Porn Charges Allegedly Tried To Hire Hitman To Murder 14-Year-Old Child In New York

(Copyright 2010 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)