A federal judge has paused the scheduled execution of former Army Maj. Nidal Hasan, who was sentenced to death for the 2009 shooting at Fort Hood. Hasan had been set to be executed by firing squad on Thursday, which would have been the first U.S. military execution since 1961.

U.S. District Judge Tony Mattivi paused the execution on Monday to give Hasan time to argue that President Donald Trump and Defense Secretary Pete Hegseth exercised unlawful command influence over the approval and scheduling of the execution.

Some legal experts said the ruling could set off a court battle lasting years that may depend on comments made by Trump and members of his administration.