A secret surveillance court in the U.S. has ruled that U.S. government’s collection of telephone data is lawful, despite concerns that the practice violated Fourth Amendment rights.

U.S. Foreign Intelligence Court Judge Claire Eagen ruled in favor of allowing U.S. intelligence agencies to access the mobile metadata of citizens in large volumes directly from providers, in a judgement made public on Tuesday, and dated August 29.

The Court ruled that under the Patriot Act, the procedure was legal. Here is more from the court filing: “The Court found that under the terms of Section 215 and under operations of the canons of statutory construction such Orders were lawful and required, and the requested Orders were therefore issued.”