President Donald Trump on an overseas trip criticized former President Barack Obama, saying he "did nothing" about Russia before the 2016 presidential election.

"Now, the thing I have to mention is that Barack Obama, when he was president, found out about this, in terms of if it were Russia, found out about it in August," Trump said during a July 6 press conference in Poland. "Now, the election was in November. That's a lot of time. He did nothing about it."

People can argue that the Obama administration didn’t do enough to immediately crack down on Russia for meddling in the election. But Trump’s statement that Obama "did nothing" in the months leading up to Nov. 8 goes too far.

The Obama administration learned in summer 2016 that election-related hacks could be traced back to the Russian government.

Soon after, at the September G20 Summit in China, Obama personally confronted Russian President Vladimir Putin and told him to back off.

Then-CIA Director John Brennan gave a similar warning to his Russian counterpart, Federal Security Bureau Director Alexander Bortnikov, during an August phone call.

On Oct. 7, the Obama administration publicly identified Russia for the first time as being behind election-related hacks, issuing a joint statement from Homeland Security and the Director of National Intelligence.

In the days following that statement, Press Secretary Josh Earnest and Vice President Joe Biden said the administration was considering options for a "proportional" response.

Also, throughout August and up through the election, Homeland Security Secretary Jeh Johnson encouraged state-level election officials, through official statements and phone calls, to protect voting-related systems from cyber intrusions.

However, the Obama administration took its most significant actions against Russia after Nov. 8. In late December, Obama ordered 35 Russian diplomats and suspected intelligence agents to leave the United States, and he also imposed narrow sanctions on some Russian individuals and organizations.

"While I don’t think it’s fair to say that the administration ‘did nothing,’ their actions were fairly minimal prior to Nov 8," said Emma Ashford, an international security expert at the libertarian Cato Institute.

Ashford and a couple other experts in U.S.-Russia relations told us that the Obama administration felt like it had few options prior to the election because of the political climate.

The Obama administration likely waited until after the election to take any truly punitive measures because they "wanted to avoid the appearance of interfering in the election, and because they felt it was probably up to the next administration to deal with this policy problem," Ashford said.

The White House had to consider the fact that acknowledging Russia’s involvement could actually help Russia get closer to its goal of delegitimizing the election, said Yoshiko Herrera, a political science professor at the University of Wisconsin-Madison. And there was also the possibility that retaliating could provoke Russia to take more action against the United States in a variety of arenas, including Syria.

Herrera added that it’s quite possible the Obama administration and intelligence community took additional action against Russia that the public doesn’t know about because it’s classified.

In hindsight, knowing how the Russia storyline has played out over the past few months, "it might have been better to call out Russia for hacking a bit sooner, but at the time I think the Obama administration tried to be responsible," she said.

Our ruling

Trump said that Obama found out about Russia "in August. Now, the election was in November. That's a lot of time. He did nothing about it."

The Obama administration did not sit idle while Russia interfered in the election, as Trump makes it seem. The administration publicly named the Russian government as the culprit, confronted Putin in person, and worked to secure the country’s election infrastructure — all while the intelligence agencies investigated the issue.

That said, Obama waited until December, after the election, to take any public, punitive measures against Putin, when he kicked out diplomats and imposed sanctions.

Trump’s statement contains a grain of truth but ignores critical facts that would give a different impression, so we rate it Mostly False.