A United States federal appeals court has overturned a lower court ruling that had paused the execution of Nidal Hasan, the former army major convicted of killing 13 people at the Fort Hood military base in Texas in 2009, according to Al Jazeera.

The 10th US Circuit Court of Appeals ruled on Wednesday that the temporary halt rested on faulty legal reasoning, allowing the military to move ahead with its plans to put Hasan to death.

"We conclude that the court committed legal error and thus abused its discretion," the appeals court said, before vacating the stay.

Why the execution was paused

Earlier this week, Judge Anthony Mattivi had granted the stay on the grounds that Hasan intended to file a habeas corpus petition, a legal challenge arguing that his detention and punishment were unlawful.

Hasan's lawyers had told the court that preparing such a case could take months. Mattivi ordered that the execution be postponed until the petition could be heard, and gave the defence until June 1, 2027, to file it.

Before that stay, Hasan was due to be executed by firing squad at Fort Hood on Thursday.

Claims against Trump and Hegseth

Hasan is represented by lawyers from the American Civil Liberties Union (ACLU). They have suggested that President Donald Trump and Defense Secretary Pete Hegseth exercised "unlawful command influence" in arranging the execution.

Court filings show the planned petition would have argued that the two men acted with "animus" in scheduling Hasan's death for this month.

In October, Hegseth announced that the execution would be held in public, and the Pentagon confirmed it would be livestreamed. Trump later reversed those plans following criticism that broadcasting the execution would be unethical and could serve as propaganda for adversaries of the US military.

Appeals court dismisses arguments

The appeals court described Hasan's claims as "patently frivolous" and said he had not shown he was likely to succeed on either of his intended arguments.

On the command influence allegation, the judges noted that the only matters Trump and Hegseth could have affected were the method and timing of the execution. They added that it was reasonable for the president to approve the death sentence.

The court also argued that further delay would weaken both the punitive and deterrent purposes of the death penalty.

The ruling is likely to be challenged before the US Supreme Court. The ACLU did not immediately respond to a request for comment, according to the Reuters news agency.

A rare military execution

If it goes ahead, Hasan's execution would be the first carried out by the US military following a court-martial conviction since 1961.

Hasan, a US-born former army psychiatrist, opened fire with a handgun inside a medical facility at Fort Hood on November 5, 2009, killing 13 people. Military police shot him during the attack, leaving him paralysed from the chest down.

At the start of his military trial, he admitted responsibility for the shooting. However, the court barred him from arguing that the killings were justified as a defence of the Taliban in Afghanistan against the US military.

This story was prepared by the Hamasta Newsdesk with AI assistance, based on reporting by Al Jazeera. Read the original report. Photo: Al Jazeera.