During the 2012 presidential primaries, 51 individuals sought the nomination of the Democratic Party. Incumbent President Barack Obama won the nomination unanimously at the 2012 Democratic National Convention and was re-elected as President in the general election by defeating Republican nominee Mitt Romney.