Former President Barack Obama spoke with French presidential candidate Emmanuel Macron on Thursday, his spokesman says.

While Obama did not endorse Macron, spokesman Kevin Lewis said the two did talk about the campaign.

Macron tweeted video of their call on Thursday.

The first round of voting takes place on Sunday. If no single candidate gets more than 50 percent of the vote, which seems the most likely, then a second run-off election between the top two candidates will occur on May 7.

Polling suggests the two candidates who will make it to round two are Macron, a centrist who is pro-European Union; and right-wing leader Marine Le Pen, who would likely push for a "Frexit." Macron seems to have the advantage in the second round.

In the statement, Lewis said Obama "remains deeply committed" to France to as a close ally of the U.S., and "as a leader on behalf of liberal values in Europe and around the world."