FILE -In this Sunday, Sept. 7, 2014 file photo, radical al-Qaida-linked preacher Abu Qatada speaks to the press prior to his verdict at the Jordanian military court in Amman, Jordan. On Wednesday, Sept. 24, 2014, a Jordanian military court acquitted Abu Qatada on terrorism charges, for his role in plotting attacks against Americans and Israelis, ruling there was insufficient evidence. The decision was handed down in the case presided over by civilian judges in the Jordanian capital, Amman. (AP Photo/Mohammad Hannon, File)
(The Associated Press)

FILE - The radical al-Qaida-linked preacher Abu Qatada sits behind bars at the Jordanian military court in Amman, Jordan, in this, June 26, 2014 file photo. A Jordanian military court acquitted radical Muslim preacher Abu Qatada Wednesday Sept. 24, 2014 on terrorism charges for his role in plotting attacks against Americans and Israelis. The court ruled there was insufficient evidence against Abu Qatada and his defense lawyer, Husein Mubaidin, says he expects his client to be released within hours. (AP Photo/Raad Adayleh, File)
(The Associated Press)

AMMAN, Jordan – A Jordanian military court on Wednesday acquitted radical Muslim preacher Abu Qatada on terrorism charges for his role in plotting attacks against Americans and Israelis.

The ruling, handed down by civilian judges presiding over the hearings, capped a lengthy legal odyssey for the cleric known for his fiery pro-Al Qaeda speeches but who in recent months emerged as a harsh critic of the Islamic State militant group.

The court ruled there was insufficient evidence against Abu Qatada and his defense lawyer, Husein Mubaidin, said he expects his client to be released within hours.

Abu Qatada, described as a onetime lieutenant to Usama bin Laden, was charged with involvement in plans to target Israeli and American tourists and Western diplomats in Jordan in 2000 -- the so-called "millennium plot."

Separately, the 53-year-old preacher was acquitted in June in another case, a foiled 1999 plan to attack an American school in Amman. He had pleaded not guilty to both sets of charges in the proceedings against him.

As the ruling was announced in the Amman courtroom, Abu Qatada's relatives erupted into cheers while women wept with joy and embraced each other.

The cleric, who was inside a defendants' cage for the verdict, guarded by heavily armed riot police, was promptly taken out of the courtroom and made no remarks to media.

From his detention in Jordan, Abu Qatada recently sharply criticized Islamic State militants who have killed thousands of people, beheaded Westerners -- including two American journalists -- and captured large swaths of Syria and northern and western Iraq in a blitz this summer.

At a court appearance earlier this month, Abu Qatada said he is certain the Islamic State group will be vanquished, adding that "they have the ability to kill and destroy, not to build."

The West Bank-born Abu Qatada fled a Jordanian crackdown on militants, arriving in Britain on a forged passport in 1993. He was granted asylum a year later, but eventually wore out his welcome because of his suspected militant activities.

He had been convicted in absentia and sentenced to life in prison on both Jordanian charges. But on his extradition to Jordan last July, those sentences were suspended and he was ordered to stand a new trial.

Abu Qatada had questioned the impartiality of Jordan's military court, an issue that delayed his deportation from Britain for years. But last June, Britain and Jordan ratified a treaty on torture, paving the way for his extradition.