DALLAS (AP) - A Jordanian man caught in an FBI sting trying to blow up a Dallas skyscraper has been sentenced to 24 years in federal prison.

Hosam Smadi was sentenced Tuesday in federal court in Dallas, just blocks from the 60-story office tower he had targeted. He faced up to life in prison but received a reduced sentence after pleading guilty in May to attempted use of a weapon of mass destruction.

The 20-year-old Smadi will likely be deported after serving his sentence.

Smadi acknowledged leaving what he thought was a truck bomb in a garage beneath the Fountain Place building in September 2009. Smadi said he parked the truck, activated a timer connected to the decoy provided by undercover FBI agents, then rode away to watch the explosion.