See more Toronto Sun on Google — save as a Preferred Source

A judge has ruled that the alleged brains behind the Sept. 11, 2001 terror attacks is set to go on military trial in 2028.

Khalid Sheikh Mohammed, 61, is accused of organizing the 9/11 attacks in the United States almost 25 years ago, when hijackers flew planes into the World Trade Center in New York City and the Pentagon in Washington, D.C.

A fourth plane that allegedly targeted another government building in Washington crashed in a field in Pennsylvania after passengers fought to control the aircraft.

Close to 3,000 people were killed in the attacks, including two dozen Canadians.

Suspect captured two years after attacks

Mohammed has been held at Guantanamo Bay, the American detention camp in Cuba, since 2006, per Sky News .

He was captured in Pakistan in 2003 and charged with murder and war crimes in 2008.

While in custody, planned trial dates to prosecute Mohammed came and went, which included plea deal negotiations.

In 2014, a U.S. Senate report revealed Mohammed had been the subject of waterboarding — a form of torture where a cloth is placed over the face and water is poured on it to induce the sensation of drowning — 183 times. The man’s lawyers argued the trial delays come from what they alleged are the government’s attempts to hide torture details.

Mohammed will stand trial alongside other suspected 9/11 conspirators: Walid bin Attash, Ali Abdul Aziz Ali and Mustafa Ahmed al-Hawsawi.

The June 2028 military trial date was set by judge Michael Schrama, NBC News reported. A January 2027 trial proposed by prosecutors was rejected by Schrama.

The trial date comes after an appeals court tossed out a potential agreement last summer that would’ve allowed Mohammed to plead guilty in exchange for avoiding the death penalty.