SAN FRANCISCO — The Ninth Circuit U.S. Court of Appeals on Friday ruled that the federal government violated the First and Fourth amendment rights of an Islamic charity in how it blocked its funds and designated it as a global terrorist organization.

But the unanimous three-judge panel rejected Al-Haramain’s most “sweeping” argument — that the government wasn’t entitled to use classified information in designating groups as terrorist organizations. And the court upheld the U.S. Office of Foreign Assets Control’s determination that Al-Haramain is a terrorist organization.