It takes 2,383 delegates to win the Democratic nomination for president. Here is where the race for those delegates stands, based on an Associated Press count:
These are the delegates won in primaries and caucuses. At the party's national convention, these delegates must vote for the candidate who won them.
Hillary Clinton: 1,768
Bernie Sanders: 1,497
These are elected and party officials who automatically attend the convention and can vote for the candidate of their choice. The Associated Press has surveyed these delegates several times and recorded their on-the-record endorsements.
These delegates, however, can change their minds.
These are the pledged delegates to be chosen in upcoming races — as well as a few that are still unallocated from previous races — and the superdelegates who have yet to commit to either Clinton or Sanders.