Tallahassee Mayor Andrew Gillum upset a crowded field of well-funded candidates in Florida's Democratic primary, a step away from becoming the state's first black governor.
His surprise victory sets up a November showdown with Republican Congressman Ron DeSantis, a favourite of President Donald Trump.
Gillum's victory could further energise black voters in a year when Democrats are already counting on high turnout among minorities to buoy the party in the November election.
Gillum is the party's third black governor nominee this year, with Stacey Abrams in Georgia and Ben Jealous in Maryland. He was endorsed by former presidential candidate Bernie Sanders.
DeSantis rode Trump's endorsement to victory in the GOP race, underscoring the President's broad appeal in Republican primaries. Trump cheered DeSantis' victory on Twitter, writing: "Ron will be a fantastic Governor. On to November!"