Nidal Hasan, the former U.S. Army soldier convicted of killing 13 people and wounding 31 in a 2009 shooting at Fort Hood, Texas, is scheduled to be executed by firing squad on Saturday at 1 p.m. CT. Court battles delayed the execution by two days.

Hasan, 56, was convicted by court-martial of premeditated murder and attempted murder in 2013 and sentenced to death. He is incarcerated at a military prison at Fort Leavenworth, Kansas, but will be executed at Fort Hood.

The U.S. Supreme Court on Friday cleared the way for the execution after a series of court rulings temporarily halted and then restored plans to carry it out this week. Hasan’s lawyers filed an emergency request in a lower court in Kansas on Friday. The court denied it early Saturday, prompting further appeals, including a second request to the Supreme Court to halt the execution.

Hasan, who is Muslim, sought to stop the execution, arguing that racial and religious biases and what he called the “unlawful command influence” of Mr. Trump and Hegseth violated his constitutional rights. Federal prosecutors called the claims “meritless” and said in a court filing that Hasan was primarily trying to extend the proceedings beyond the scheduled execution deadline.

A former Army major and psychiatrist, Hasan opened fire with a semiautomatic handgun inside a crowded processing center for soldiers at Fort Hood on Nov. 5, 2009, court records show. Thirteen people were killed and 31 were shot and wounded. Responding officers shot Hasan in the back, leaving him paralyzed.

Hasan pleaded not guilty at his court-martial but admitted during the trial that he was the shooter. He said that, if allowed to challenge his conviction, he intended to argue that he was defending the Taliban and should have been permitted to present that defense at trial. At the time, he claimed the shooting was an attempt to protect Taliban fighters in Afghanistan from American military action.

Defense Secretary Pete Hegseth sparked controversy in October with a plan to livestream the execution. After bipartisan backlash, President Trump called off the livestream, writing in a social media post that “many very good and well meaning people would rather not watch him die.”

Loved ones of those killed in the shooting are allowed to witness the execution, though not all chose to do so. If it goes ahead, it will be the country’s first military execution since 1961 and the first firing-squad execution since 1945, during World War II.

Firing squads have been used sparingly to execute inmates in state prisons over the past five decades. Several states allow the method as an alternative to lethal injections, but rarely use it. The method returned in South Carolina last year, where it was used in three cases as the state struggled to obtain lethal drugs. The Department of Justice announced plans to reintroduce firing squads to the federal execution protocol in April.