A U.S. federal appeals court on Wednesday allowed the U.S. military to move forward with plans to execute Nidal Hasan, the former U.S. army major convicted of killing 13 people in 2009 at ‌Fort Hood in Texas, a reversal of a lower court decision from earlier in the week.

The legal team for Hasan, whose execution at Fort Hood has been scheduled for Thursday, will appeal the appeals ​court's decision to the U.S. Supreme Court, said Anna Arceneaux, deputy director of ​the American Civil Liberties Union’s Capital Punishment Project. The ACLU has assisted Hasan in the appeal proceedings.

In a written order, a three-judge ​panel of the 10th U.S. Circuit Court of Appeals said a federal judge "committed legal error" in the ruling that indefinitely paused Hasan's execution.

"Hasan has not made a strong showing ​that he is likely to succeed on the merits of his two intended claims," ⁠the appeals court said, adding ⁠that "delaying his scheduled execution would frustrate the death penalty ‌by undermining its retributive and deterrent functions."

The execution would be the first carried out by the U.S. military after a court-martial conviction ​since 1961.

U.S. Attorney General Todd Blanche said on X, "Hasan’s arguments lack any merit, and he will now face his long overdue punishment."

Hasan, a former army psychiatrist, used a laser-sighted handgun ​to kill 13 people in a medical facility at the ⁠sprawling Fort Hood base ⁠before he was shot by ‌military police, ending his attack and leaving him paralyzed from the chest down.

Born in the U.S. to Palestinian parents, Hasan admitted at the outset of his military trial that he was the killer. ⁠The judge did not allow him to pursue his planned defence that the killings were justified because he was defending the Taliban in Afghanistan from the U.S. military.

He was ‌convicted of 13 counts of premeditated murder by a jury in a military court-martial in 2013.

Hasan, imprisoned at the Fort Leavenworth military base in Kansas, represented himself at his military trial, but is now being ​assisted by federal defenders and lawyers from the American Civil Liberties Union of Kansas.

U.S. President Donald Trump ⁠in October approved the execution of Hasan by a military firing squad at ⁠Fort Hood, calling him "a very bad and evil man." U.S. War Secretary ⁠Pete ⁠Hegseth later promised to livestream Hasan's ​death, which would have been a first. However, Trump cancelled Hegseth's livestream plans after widespread ​outcry.

U.S. District Judge Anthony ⁠Mattivi on Monday said Hasan had shown a "significant possibility of success" in his claim against Trump and Hegseth and said he would be "irreparably harmed" without a chance to press the argument in court.

"Without a stay the army will execute him before ​any court can consider his claims," Mattivi wrote in his 22-page ruling.