As they poured millions of dollars into district attorney campaigns, New York billionaire George Soros and other liberal donors seemed poised for victory in California.

They enjoyed the political momentum, having helped elect more than a dozen prosecutors from Florida to Texas.