For the first time in years, the man who killed 13 soldiers at Fort Hood is due to leave the guarded walls of his military prison and appear before a federal judge on Monday, three days before he is scheduled to be put to death by firing squad. Nidal Hasan, 56, is expected to appear in person in a Kansas courtroom after a judge ordered him to attend, saying he must hear directly from Hasan whether he wants to represent himself.

Hasan, a former Army major and psychiatrist, was convicted of murdering 13 people and attempting to murder 32 more in the 2009 shooting rampage at Fort Hood, Texas. He has exhausted his military appeals and had a request for a hearing turned down once by the U.S. Supreme Court. He now wants to file a habeas corpus petition, arguing that his constitutional rights were violated during his court-martial.

At the center of his claim is an argument the military judge refused to allow at trial: Hasan says he should have been permitted to tell a military jury that his attack was justified because he was acting in defense of Taliban members who were being unlawfully targeted by the United States. He acted as his own attorney at his court-martial, rejected his lawyers' plan to defend him as a victim of "religious passion," and, after being barred from presenting his preferred defense, presented no defense at all.

U.S. District Judge Anthony Mattivi ordered the in-person appearance after Hasan did not attend an initial hearing held over Zoom. "The Court is mindful of the urgency of this matter for everyone involved, but it has determined that it cannot rule on the matters before the Court without hearing from Petitioner on whether he wants to proceed and the status of counsel," Mattivi wrote in an order filed the day before Thanksgiving.

The Trump administration opposed a stay of execution in a filing on Friday, calling Hasan's claims "untimely and meritless." Assistant U.S. Attorney Jared Maag wrote that Hasan's logic would allow "any person" to "unilaterally decide that a war was unlawful and engage in murderous mass shootings against U.S. military personnel with impunity." The American Civil Liberties Union, which is providing standby counsel, urged the court to halt the execution, saying Hasan "like every person facing an irreversible punishment, must have a chance to pursue federal review of his case."

Hasan is scheduled to be put to death on Thursday, December 3, at 1 p.m. Central Time at Fort Hood — the same hour and place where he took 13 lives. President Donald Trump signed off on the death sentence last month, announcing the execution would be carried out by firing squad, a method last used by the U.S. military during World War II. Defense Secretary Pete Hegseth initially said the firing squad would be livestreamed to the public, but Trump later reversed that decision, reportedly after learning that Hasan, who was shot by two civilian Army officers during the attack, is paralyzed from the waist down. The Army has not confirmed its protocol for the execution.