Rudolph Giuliani, attorney for President Donald Trump, arrives for a news conference at the Republican National Committee on lawsuits regarding the outcome of the 2020 presidential election on Thursday, November 19, 2020.Tom Williams | CQ-Roll Call, Inc. | Getty ImagesFederal investigators executed search warrants Wednesday morning at the Manhattan apartment and office of Rudy Giuliani, the former mayor of New York City who was the personal lawyer of former President Donald Trump, NBC News reported.The searches were part of a criminal investigation into Giuliani’s dealings in Ukraine, The New York Times reported first Wednesday, citing three people with knowledge of the matter.FBI agents were escorted to Giuliani’s apartment by his doorman, a source close to the former mayor told CNBC.They presented Giuliani with a warrant and requested “all electronic devices,” the source said.Giuliani gave them one cell phone, one iPad and one laptop, according to the source. The agents left after about 45 minutes, the source added. The warrant for Giuliani’s office also authorized the seizure of electronic devices there.CNBC PoliticsRead more of CNBC’s politics coverage:A source told NBC that FBI agents also executed a search warrant at the Washington-area home of the Republican lawyer Victoria Toensing, who is close to Giuliani.Toensing — who is married to and law partners with former top Washington, D.C., federal prosecutor Joseph diGenova — represented Ukrainian oligarch Dmytro Firtash, who himself is the subject of a federal indictment in the United States.The source said no additional warrants were executed Wednesday other than the ones targeting Toensing and Giuliani.Giuliani is a former United States attorney for the Southern District of New York, the same office that is investigating him.Federal prosecutors in New York last year sought approval from top officials at the Department of Justice to ask for a search warrant for Giuliani’s electronic communications, NBC reported.A source familiar with the investigation told NBC on Wednesday that prosecutors had sufficient grounds to obtain a search warrant late last year.But the source said it was just “a matter of timing,” suggesting that the Justice Department — which oversees individual U.S. Attorney’s offices — may have wanted to wait until the Trump administration ended in January.A lawyer for Giuliani, Robert Costello, said the authorities arrived at the Upper East Side apartment at 6 a.m. and seized electronic devices during the search, The Wall Street Journal reported.The investigation is looking into possible violations of foreign lobbying rules, and the search warrant sought communications between Giuliani and others including conservative columnist John Solomon, Costello told The Journal.Costello called the search “legal thuggery,” according to The Journal.The apartment building of Former New York City Mayor Rudy Giuliani, personal attorney to U.S. President Donald Trump, is seen in Manhattan, New York City, New York, U.S., April 28, 2021.Andrew Kelly | ReutersGiuliani tweeted Wednesday that he would issue a live statement on WABC-AM Radio in New York at 3 p.m. ET. But he failed to appear on that station as scheduled, and the show at that time, hosted by Dominic Carter, discussed the New York City mayoral race.Giuliani also deleted his tweet.Giuliani, Costello and a spokesman for Trump did not immediately respond to CNBC’s requests for comment.The Justice Department and a spokesman for the SDNY declined to comment to CNBC on the raid of Giuliani’s home.Giuliani tried in 2019 to dig up damaging information on President Joe Biden’s son Hunter Biden, in connection with Hunter Biden’s business dealings in Ukraine.The efforts by Giuliani, Trump and others in his orbit to pressure Ukrainian officials to investigate the Bidens — or at least announce an investigation — prompted House Democrats to impeach the former president for the first time. Democrats argued Trump’s reelection ambitions prompted the dirt-seeking efforts.The Senate, then held by Republicans, acquitted Trump.Federal prosecutors in Manhattan were known to be reviewing Giuliani’s bank records in connection with the investigation of his activities in Ukraine.Giuliani reacted to the investigation last winter, asserting in a furious tweet that the federal investigators were acting as “secret police” to help Biden.”They want to seize my emails. No reason. No wrongdoing. Attorney-Client privilege.?” Giuliani tweeted on Dec. 22.The search was the second time that investigators from the SDNY had raided the property of someone who served as Trump’s lawyer.The first was Michael Cohen, whose office and home were searched three years ago this month.Cohen, once a Trump loyalist, later turned against his former boss and pleaded guilty to multiple crimes related to the ex-president and the Trump Organization. Trump and Giuliani both excoriated Cohen following his plea in November 2018.Cohen is currently cooperating with an ongoing criminal probe of Trump and his business that is being conducted by the office of Manhattan District Attorney Cyrus Vance Jr. That investigation focuses on possible bank and insurance fraud involving Trump Organization real estate assets, among other issues.In a tweet Wednesday, Cohen reacted enthusiastically to news of the raid on Giuliani’s property.”Here we go folks!!!” Cohen tweeted.Andrew Giuliani, the former mayor’s son and a former Trump administration official, told CNN last week that he would travel to Trump’s Mar-a-Lago resort in Palm Beach, Florida, to discuss a possible New York gubernatorial bid with the ex-president.— CNBC’s Amanda Macias and Shepard Smith contributed to this report.