A federal judge in California blocked the Trump administration Wednesday from adding a citizenship question to the 2020 census, saying the decision ran afoul of federal law and was unconstitutional.

The ruling from U.S. District Judge Richard Seeborg is the second order from a federal judge blocking the question. In January, a federal judge in New York blocked the Trump administration from adding the question, saying the administration ran afoul of the Administrative Procedure Act, a federal law that requires an agency to carefully study an issue before implementing a change in policy. Instead of carefully studying adding the citizenship question, Commerce Secretary Wilbur Ross came up with a “pretextual” rationale for adding it, the judge said.