California Gov. Jerry Brown on Sunday signed a bill reinstating Obama-era open-internet rules in the state, and the Justice Department responded almost immediately with a lawsuit seeking to overturn the law.

In a statement, Attorney General Jeff Sessions said that the federal government, not the states, should oversee the internet, and California had “enacted an extreme and illegal state law attempting to frustrate federal policy.”

State...