President Donald Trump congratulated Emmanuel Macron shortly after the centrist defeated far-right leader Marine Le Pen in the final round of France’s pivotal presidential election on Sunday.

Congratulations to Emmanuel Macron on his big win today as the next President of France. I look very much forward to working with him! — Donald J. Trump (@realDonaldTrump) May 7, 2017

Trump never outright endorsed Le Pen, but he expressed support for the candidate, who put anti-immigrant, euro-skeptic views at the center of her campaign. The president even suggested on Twitter that last month’s terror attack in Paris would help tip the scales in her favor.

Another terrorist attack in Paris. The people of France will not take much more of this. Will have a big effect on presidential election! — Donald J. Trump (@realDonaldTrump) April 21, 2017

Macron appears to be headed for a landslide victory, with early projections indicating he’ll win about 65 percent of the vote. Former U.S. President Barack Obama officially endorsed Macron just days before the election.

The White House also issued a statement congratulating 39-year-old Macron.

“We congratulate President-elect Macron and the people of France on their successful presidential election,” White House press secretary Sean Spicer said Sunday. “We look forward to working with the new President and continuing our close cooperation with the French government.”

Hillary Clinton, the 2016 Democratic presidential candidate in the U.S., celebrated Macron’s victory on Twitter, noting that both of their campaigns were targeted by foreign hackers.

Victory for Macron, for France, the EU, & the world.



Defeat to those interfering w/democracy. (But the media says I can't talk about that) — Hillary Clinton (@HillaryClinton) May 7, 2017