President Donald Trump on Friday commented that Thursday's terrorist attack in France would impact the upcoming election, a tweet that many saw as support for the nationalist French Presidential candidate Marine Le Pen.

"Another terrorist attack in Paris. The people of France will not take much more of this," he said. "Will have a big effect on presidential election!"

Le Pen, the leader of the National Front party, is seen as one of four candidates most likely to secure one of two spots in the final round of voting, to be held on May 7. An outright victory in the final round is seen as unlikely but possible. She has explicitly called for Muslim immigrants to be barred from France and "Islamist" mosques to be shuttered.

Trump's tweet came a day after he offered condolences to the French people during a press conference with Italian Prime Minister Paolo Gentiloni for Thursday's attack, claimed by the Islamic State group, in which a police officer was killed and another injured. At the press conference, he avoided directly answering a question on the French election.

"A strong Europe is very, very important to me," Trump said. "We want to see it. We will help it be strong, and it's very much to everybody's advantage."

In other tweets on Friday morning, the president also lashed out at the media and what he sees as China's responsibility to pressure North Korea to stop its nuclear provocations.

"No matter how much I accomplish during the ridiculous standard of the first 100 days, & it has been a lot (including S.C.), media will kill!" he wrote.

During the campaign and transition, Trump used the 100-day marker to make pledges to his supporters, but he seems to have soured on the traditional but arbitrary deadline.

While the White House sees the confirmation of Supreme Court Justice Neil Gorsuch as a major accomplishment, his administration has otherwise gotten off to a slow start, failing to achieve a substantial legislative victory on health care and seeing his high-profile executive orders on immigration mostly blocked by the courts.

Even as he has struggled to advance his domestic agenda, Trump has turned his focus more toward the danger posed by North Korea's nuclear ambitions, pressing China to use its regional influence to force the hermit nation to stand down.

"China is very much the economic lifeline to North Korea so, while nothing is easy, if they want to solve the North Korean problem, they will," he tweeted Friday.

Last week, Korean officials blamed Trump for increasing the likelihood of open conflict, pointing to his "provocations and aggressive words" in his tweets and suggesting they were prepared to launch a pre-emptive strike if they suspected the U.S. was readying an attack.