President Trump’s personal attorney Rudy Giuliani says he plans to depart that role after he finishes “cleanup” from special counsel Robert Mueller’s investigation.

The former New York City mayor, who once led the federal prosecutors office in Manhattan, has been a key Trump spokesman and strategist since joining his legal team in April 2018 after Trump struggled to attract other legal talent, in part due to legal conflicts on the part of the attorneys.

But Giuliani has been working for free and has other projects crammed into a “pretty busy” schedule.

Giuliani told the Washington Examiner he’s working on legal issues on Trump’s behalf before the U.S. attorney’s office for the Southern District of New York and the New York attorney general’s office, where prosecutors are reviewing evidence generated by Mueller.

As with the Mueller probe, Giuliani believes there would be a point where it becomes clear that non-congressional legal fallout is over.

When that happens, he intends to end his representation of Trump, saying he would “probably not” remain his personal attorney. If asked by Trump to continue, however, he said it’s possible he would remain. “Depends on if I’m needed,” he said.

The White House legal team is handling the most high-profile fallout from Mueller: investigations in Congress, where Democrats are seeking to supplement Mueller’s work, creating standoffs over documents and testimony with Trump invoking executive privilege.

Mueller found no collusion with Russia but analyzed instances of Trump possibly obstructing justice, including by allegedly ordering Mueller's firing. Dozens of Democrats and one Republican, Rep. Justin Amash of Michigan, have called for his impeachment.

Giuliani is also "following up on evidence concerning [the] creation of the false narrative” that Trump colluded with Russia.

The former mayor recently said he believes Ukraine may be behind efforts to allege collusion.

Though he reportedly turned down Trump’s post-election offers to be attorney general or Homeland Security secretary — in an apparent bid to become secretary of state — Giuliani said he has “no plan” to join the government.

With his additional time, he would do more of “what I am doing now: security analysis and consulting all over the world and legal cases I am interested in.”

Giuliani, 75, said he would continue to give speeches to businesses such as Wall Street banks and charitable groups — a lucrative income source that has netted him millions of dollars.