Though it will take weeks to finish the final tally, the votes counted so far show Bernie Sanders won the California primary. As results trickle in, The Times is assembling the most complete map possible of block-by-block results from the state's 58 counties. Only election-day tallies for 28 counties are out so far. This page will update until the count ends in April.

Additional reporting by Vanessa Martínez, Kyle Kim, Lorena Iñiguez Elebee, Jennifer Lu, Aida Ylanan, Phi Do, Swetha Kannan and Ryan Menezes. Sources: Mapbox, Associated Press, Times reporting, California secretary of state, county election offices, Statewide Database at U.C. Berkeley Law