President Donald Trump welcomed the execution of former Army psychiatrist Nidal Malik Hasan, who was sentenced to death for the 2009 Fort Hood terrorist attack that killed 13 people and wounded more than 30 others.

President Donald Trump described Saturday’s execution of former U.S. Army Maj. Nidal Malik Hasan as an “act of justice,” following more than 17 years of criminal proceedings stemming from the 2009 terrorist attack at Fort Hood, Texas.

“Just a short while ago, Nidal Malik Hasan, the vicious murderer in the tragic and infamous 2009 Fort Hood massacre, was executed by firing squad at Fort Hood, Texas,” Trump said in a statement published Dec. 5 on Truth Social.

“This was an Act of Justice for the 13 beautiful souls who Hasan murdered,” Trump said, as reported by Reuters.

The president also acknowledged the pregnant woman killed in the attack and her unborn child, emphasizing his administration’s commitment to protecting Americans against terrorism.

Trump vowed that the United States would “never be a safe haven for terrorists who brutally murder and attack innocent Americans,” according to CBS News.

The Army officially confirmed Hasan’s execution, stating that the sentence was carried out in accordance with the Uniform Code of Military Justice and Army regulations.

Among those present were 55 victims and family members, authorized military personnel, legal representatives and designated members of the media.

Hasan, 56, became the first American military prisoner executed since April 13, 1961, and the first executed by a military firing squad since 1945.

Trump formally approved Hasan’s death sentence on Oct. 2, following recommendations from military leadership. Acting Army Secretary Adam Telle subsequently issued the execution directive on Oct. 6.

The administration initially considered livestreaming the execution, but Trump reversed that decision Oct. 15 following objections to publicly broadcasting the proceedings.

The execution followed a series of last-minute legal challenges that temporarily delayed implementation of the sentence. The Supreme Court ultimately declined to intervene, allowing the Army to proceed Saturday.

Hasan’s attorneys criticized the outcome, arguing that the legal proceedings had failed to adequately protect his constitutional rights. Federal public defender David Baker contended that the decision undermined due process protections afforded to military personnel, according to The Associated Press.

Hasan was convicted by a general court-martial on Aug. 23, 2013, of 13 counts of premeditated murder and 32 counts of attempted premeditated murder. A military jury unanimously sentenced him to death five days later.

Federal investigations established that Hasan had communicated with Anwar al-Awlaki, an American-born Islamic extremist associated with al-Qaida in the Arabian Peninsula, before the Nov. 5, 2009, attack.

The federal government’s initial classification of the attack as workplace violence generated years of opposition from survivors, victims’ families and lawmakers who argued that it constituted an act of terrorism.

Congress subsequently expanded Purple Heart eligibility to include military personnel killed or wounded in certain terrorist attacks. Fort Hood victims received the military decorations in April 2015.

Saturday’s execution concluded more than 13 years of military and civilian appellate proceedings following Hasan’s conviction and marked the first implementation of a U.S. military death sentence in 65 years.