Former President Obama on Friday took a swipe at President TrumpDonald John TrumpSenate GOP budget ignores Trump, cuts defense Trump says he'll nominate Stephen Moore to Fed White House: ISIS territory in Syria has been 100 percent eliminated MORE over those who have been caught up in special counsel Robert MuellerRobert Swan MuellerSasse: US should applaud choice of Mueller to lead Russia probe 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 PapadopoulosFormer White House staffer Hope Hicks to cooperate with Dems' probe into Trump Nadler 'encouraged' by response to Trump documents request Trump seizes on poll that shows half agree Mueller investigation is a 'witch hunt' MORE, former Trump campaign chairman Paul ManafortPaul John ManafortCollege admissions scandal underscores importance of attorney ethics in America Five things to watch for as White House readies for Mueller report As Russia collusion fades, Ukrainian plot to help Clinton emerges 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 ClintonHillary Diane Rodham ClintonDemocratic Socialists of America endorses Sanders for president How to end the Electoral College and elect our next president by popular vote CNN town halls put network at center of Dem primary 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.”