NBC News is tracking the number of delegates each candidate has won in the 2020 Democratic and Republican presidential races. Each party is governed by their own set of rules, but each state and territory offer a certain number of pledged delegates up for grabs based on the results of primary voting nights and caucuses. The Democratic nominee will be selected by delegates at the Democratic National Convention taking place July 13-16 in Milwaukee. To win the nomination on the first ballot, a Democratic candidate must receive support from a majority of pledged delegates — at least 1,991 of the total 3,979 pledged delegates.

President Donald Trump, meanwhile, is a shoo-in to garner the support of the majority of delegates necessary to win the GOP nomination at the Republican National Convention in Charlotte, North Carolina, on August 24-27.

Democrats

1,991 delegates to win nomination

Buttigieg
2323
Sanders
2121
Warren
88
Klobuchar
77
Biden
66
Gabbard
0
Yang
0
Steyer
0
Patrick
0
Bennet
0
Booker
0

Republicans

1,276 delegates to win nomination

Trump
6161
Weld
11
Walsh
00

How delegates have been awarded

Democrats

Buttigieg
Sanders
Warren
Klobuchar
Biden
Gabbard
Yang
Steyer
Patrick
Bennet
Booker

Republicans

Trump
Weld
Walsh
Total Delegates
Unpledged Delegates
851
13
851
13
851
13
851
13
851
13
851
13
851
13