The Supreme Court of Canada unanimously ruled Friday that the country’s anti-terror law is constitutional in a series of decisions that affirm how terrorism is defined in the Criminal Code.

The court in a 7-0 ruling rejected constitutional challenges brought by three men, including Momin Khawaja, the first person charged under the anti-terror law that was passed in the wake of the Sept. 11, 2001, terrorist attacks on the United States. Khawaja was convicted of collaborating with a group of Britons in a thwarted 2004 bomb plot in London.