WARSAW, Poland — President Trump refused Thursday to say definitively that he believes Russia was responsible for interference in the 2016 election.

“I think it was Russia. I think it was probably other people and or countries,” Trump said at a news conference in Warsaw with Polish President Andrzej Duda. “Nobody really knows. Nobody really knows for sure.”

The U.S. intelligence community has said publicly that it believes Russia was responsible for efforts to meddle in the election and that the operation was directed by Russian President Vladimir Putin.

Trump’s comments come just one day before he is expected to hold a bilateral meeting with Putin during a G-20 summit in Germany, and questions remain about whether he will confront Russia over the issue.

Trump cited intelligence reports about weapons of mass destruction in the lead-up to the Iraq War as evidence that the intelligence communities findings might not be accurate.

“When I was sitting back listening about Iraq . . . Weapons of mass destruction, how everybody was 100 percent sure,” Trump said. “They were wrong and it led to a mess.”

But Trump did go on to strongly criticize then-President Barack Obama, claiming he did “nothing” about the election interference. He claimed that Obama didn’t act because he believed the Democratic candidate, Hillary Clinton, would win.

“He did nothing about it,” Trump asserted. “The reason is, he thought Hillary was going to win.”

“Why did he do nothing from August all the way to Nov. 8?” Trump asked. “His people said he choked. I don’t think he choked.”

The Obama administration, however, was deeply engaged in contacts with the CIA and other agencies investigating computer hacking and other measures believed linked to Russia in the months before the election.

A host of punitive actions on Russia were debated by the Obama team. In late December, Obama approved a modest package combining measures that had been drawn up to punish Russia for other issues, including the expulsions of 35 diplomats and the closure of two Russian compounds.

The event marked the first time that Trump has taken questions during an overseas trip.

In his opening remarks, Trump warned that the U.S. and Europe were united in confronting Russia’s “actions and destabilizing behavior.”

He also issued a warning to North Korea after the rogue nation successfully tested an intercontinental ballistic missile.

“We will confront it very strongly,” Trump said. “There are consequences for their very, very bad behavior.”

Later, Trump added that he would not draw “red lines” with North Korea.

“We’ll just take a look at what happens over the coming weeks and months with respect to North Korea,” Trump said. “It’s a shame that they are behaving this way.

“But they are behaving in a very very dangerous manner and something will have to be done about it,” he added.