Washington (CNN) Former FBI Director James Comey slammed President Donald Trump for a tweet Sunday accusing the FBI of breaking into the office of his former attorney, Michael Cohen, earlier this year and called on Republicans to speak out in defense of the agency.

"This is from the President of our country, lying about the lawful execution of a search warrant issued by a federal judge," Comey tweeted Sunday afternoon. "Shame on Republicans who don't speak up at this moment — for the FBI, the rule of law, and the truth."

Trump had lashed out at his estranged former attorney and the FBI in a series of tweets that blasted the Russia investigation.

"Remember, Michael Cohen only became a 'Rat' after the FBI did something which was absolutely unthinkable & unheard of until the Witch Hunt was illegally started," Trump tweeted . "They BROKE INTO AN ATTORNEY'S OFFICE! Why didn't they break into the DNC to get the Server, or Crooked's office?"

The FBI executed search warrants on Cohen in the raid, a move that requires the approval of a federal judge.