A federal judge Monday ruled unconstitutional some restrictions imposed by the federal Legal Services Corp. on groups that provide legal services to the poor.

Eastern District Judge Frederic Block issued a preliminary injunction blocking the corporation from withholding federal funds from Legal Services for New York City and other local groups. He also stopped the Legal Services Corp. from preventing the local groups from forming “affiliates” that engage in activities that have been declared off-limits by Congress.