A federal judge ordered immigration officials to release the president of Wisconsin’s largest mosque from detention Thursday, finding that Salah Sarsour has raised a “substantial” claim that he was being targeted for speaking out in favor of Palestinian rights.

A federal judge has ordered the release of Salah Sarsour, the president of Wisconsin's largest mosque, from detention while his immigration case moves forward.

The government has claimed Salah Sarsour is a foreign policy threat, but his attorneys say he was actually targeted for speaking out against Israel.