The 1980 US presidential election was contested between incumbent President John B. Anderson of the Democratic Party , Ronald Reagan of the Republican Party , and independent candidate John B. Anderson .