The Ninth Circuit has formally ended a closely watched election-law dispute after the U.S. Department of Justice moved to dismiss litigation involving roughly 20,000 contested ballots in California. The case, which centered on subpoenas issued to election officials in Los Angeles and Orange counties, had become a notable flashpoint in the broader debate over how far the federal government can go in probing state election administration.