(CNN) Former Vice President Joe Biden will win the Ohio Democratic primary, CNN projected Tuesday.

Biden, the Democratic party's presumptive nominee, is the only Democratic candidate left in the presidential race, but Vermont Sen. Bernie Sanders was still on the Ohio ballot.

Sanders suspended his campaign earlier this month and endorsed Biden, but decided to remain on the ballot in order to amass "as many delegates as possible" as part of an effort, Sanders has said, "to exert significant influence over the party platform and other functions" at this summer's Democratic convention.

President Donald Trump was also projected to win the Republican primary in Ohio. He is Republican party's presumptive nominee, and is the only Republican in the race.

The contest in Ohio was pushed back last month just as the coronavirus pandemic forced rallies and other in-person campaigning to grind to a halt.

Read More