Former President Obama on Friday took a swipe at President Trump Donald John TrumpBiden says voters should choose who nominates Supreme Court justice Trump, Biden will not shake hands at first debate due to COVID-19 Pelosi: Trump Supreme Court pick 'threatens' Affordable Care Act MORE over those who have been caught up in special counsel Robert Mueller Robert (Bob) MuellerCNN's Toobin warns McCabe is in 'perilous condition' with emboldened Trump CNN anchor rips Trump over Stone while evoking Clinton-Lynch tarmac meeting The Hill's 12:30 Report: New Hampshire fallout MORE's probe.

"They promised to take on corruption. Remember that?" Obama said while going after Trump and Republicans during a Democratic campaign event in Milwaukee.

"They have gone to Washington and just plundered away. In Washington, they have racked up enough indictments to field a football team," he said.

ADVERTISEMENT

"Nobody in my administration got indicted."

As of this month, Mueller's team has indicted or secured guilty pleas from 32 people as part of his sprawling probe into Russian meddling in the 2016 election.

Four of those people include former Trump campaign adviser George PapadopoulosGeorge Demetrios PapadopoulosTale of two FBI cases: Clinton got warned, Trump got investigated Trump says he would consider pardons for those implicated in Mueller investigation New FBI document confirms the Trump campaign was investigated without justification MORE, former Trump campaign chairman Paul Manafort Paul John ManafortFBI official who worked with Mueller raised doubts about Russia investigation Our Constitution is under attack by Attorney General William Barr Bannon trial date set in alleged border wall scam MORE, former Trump campaign aide Richard Gates and Trump's former national security adviser, Michael Flynn.

Trump has repeatedly slammed the investigation as a partisan "witch hunt" and called for it to be ended.

Obama on Friday also took aim at Republicans who criticized Democratic presidential candidate Hillary Clinton Hillary Diane Rodham ClintonThe Memo: Trump furor stokes fears of unrest Bloomberg rolls out M ad buy to boost Biden in Florida Hillicon Valley: Productivity, fatigue, cybersecurity emerge as top concerns amid pandemic | Facebook critics launch alternative oversight board | Google to temporarily bar election ads after polls close MORE's emails during the 2016 election cycle. He alluded to a New York Times report this week that said Russia and China are eavesdropping on Trump’s personal phone calls.

"They didn't care about emails," Obama said. "And you know how you know? Because if they did, they'd be up in arms right now as the Chinese are listening to the president's iPhone that he leaves in his golf cart. It turns out, I guess it wasn't that important.”