Washington, Dec 31 (AP) A military appeals court has ruled against Defence Secretary Lloyd Austin's effort to throw out the plea deals reached for Khalid Sheikh Mohammed and two other defendants in the 9/11 attacks, a US official said.

The decision puts back on track the agreements that would have the three men plead guilty to one of the deadliest attacks ever on the United States in exchange for being spared the possibility of the death penalty. The attacks by al-Qaida killed nearly 3,000 people on September 11, 2001, and helped spur US invasions of Afghanistan and Iraq in what the George W. Bush administration called its war on terror.

Also Read | Mexico Set To Launch App With Panic Button for Migrants Facing Detention in US, Will Help Send Alerts to Nearby Consulates and Family Members: Reports.

The military appeals court released its ruling Monday night, according to the US official, who was not authorised to discuss the matter publicly and spoke on condition of anonymity.

Military prosecutors and defence attorneys for Mohammed, the accused mastermind of the attacks, and two co-defendants reached the plea agreements after two years of government-approved negotiations. The deals were announced late last summer.

Also Read | Nimisha Priya Death Row: Mother of Kerala Nurse Sentenced to Death in Yemen Makes Emotional Plea for Help.

Supporters of the plea agreement see it as a way of resolving the legally troubled case against the men at the US military commission at Guantanamo Bay naval base in Cuba. Pretrial hearings for Mohammed, Walid bin Attash and Mustafa al-Hawsawi have been underway for more than a decade.

Much of the focus of pretrial arguments has been on how torture of the men while in CIA custody in the first years after their detention may taint the overall evidence in the case.

Within days of news of the plea deal this summer, Austin issued a brief order saying he was nullifying them.

He cited the gravity of the 9/11 attacks in saying that as defence secretary, he should decide on any plea agreements that would spare the defendants the possibility of execution.

Defence lawyers said Austin had no legal authority to reject a decision already approved by the Guantanamo court's top authority and said the move amounted to unlawful interference in the case.

The military judge hearing the 9/11 case, Air Force Col. Matthew McCall, had agreed that Austin lacked standing to throw out the plea bargains after they were underway. That had set up the Defence Department's appeal to the military appeals court.

Austin now has the option of taking his effort to throw out the plea deals to the US Court of Appeals for the District of Columbia Circuit. There was no immediate word from the Pentagon on any next move. (AP)

(This is an unedited and auto-generated story from Syndicated News feed, LatestLY Staff may not have modified or edited the content body)