An appeals court has cleared the way for Nidal Hasan’s execution to proceed on Thursday, overturning a federal judge’s stay of execution issued earlier this week.

“The government’s interest in implementing Hasan’s sentence is magnified by the heinous nature of his crimes,” the 10th US Circuit Court of Appeals wrote on Wednesday, December 2. “Unduly delaying his scheduled execution would frustrate the death penalty by undermining its retributive and deterrent functions.”

Hasan, 56, a former Army major and psychiatrist, was sentenced to death for the November 5, 2009, attack at Fort Hood, Texas. At the time, he was due to deploy to Afghanistan and reportedly did not want to go. Hasan killed 13 people and an unborn child in the attack, and wounded dozens of others.