Embattled Rudy Giuliani still has the support of his boss, President Trump, who praised the former New York mayor as news broke that he is under investigation by federal prosecutors.

“He may seem a little rough around the edges sometimes, but he is also a great guy and wonderful lawyer,” Trump tweeted Saturday, blaming the “Deep State” for his personal lawyer’s legal woes.

Investigators are looking into Giuliani’s efforts to convince Trump that former Ukraine Ambassador Marie Yovanovitch — who testified before Congress in a closed-door session Friday – should be removed, sources told the New York Times.

Top Republicans have been pleading with President Trump to sideline Giuliani, fearing his loose-cannon media appearances could torpedo his boss’s impeachment defense. “He’s creating an impression of internal chaos,” an unnamed source told Politico Saturday.