Who did President Barack Obama defeat in the 2012 election?

His main challenger was Republican Mitt Romney. But there were several other third-party candidates on the ballot, like Libertarian Gary Johnson and Green Party candidate Jill Stein. President Obama defeated all of them, to win re-election in November 2012.