KANSAS: US District Judge Anthony Mattivi temporarily halted the scheduled execution of Nidal Hasan on Monday. Hasan, a former US Army major, was convicted of killing 13 people in 2009 at Fort Hood in Texas.

Hasan requested additional time to pursue a legal challenge to his execution. According to a court filing, the ruling follows a request for a stay of execution that could delay the event by months or years. Hasan is currently imprisoned at the Fort Leavenworth military base in Kansas.

Hasan represented himself at his military trial but is now being helped by federal defenders and lawyers from the American Civil Liberties Union of Kansas. He is filing a habeas corpus petition to challenge the legality of his detention and punishment. Hasan claims that being barred from advancing a defense at his trial was a violation of his constitutional rights to due process. He also alleges that President Donald Trump and Defence Secretary Pete Hegseth violated military rules when they approved the date and method of his execution, including the now-cancelled plans to live stream the event.

The Trump administration opposed the stay. In a filing on Friday, the administration told Mattivi that delaying the execution would harm a sense of justice for Hasan’s victims and their families. The administration also stated it believes Hasan's claim that his punishment is unconstitutional is likely to fail.

Hasan, who was born in the US to Palestinian parents, was a former Army psychiatrist. He used a laser-sighted handgun to kill 13 people in a medical facility at Fort Hood before military police shot him, leaving him paralysed from the chest down. A military court martial jury convicted him of 13 counts of premeditated murder in 2013. At the start of his trial, Hasan admitted he was the killer. The judge did not allow him to pursue a defense that the killings were justified because he was defending the Taliban in Afghanistan from the US military.

The execution would be the first US military execution after a court martial conviction since 1961. President Donald Trump approved the execution in October, calling Hasan “a very bad and evil man”.

Hasan's appeal of his conviction was denied by the US Supreme Court last year. Ronald Gray was also scheduled to be executed in December 2008, but the same federal court in Kansas indefinitely stayed that execution through a habeas petition similar to the one Hasan is pursuing.