White House counsel Don McGahn on Wednesday officially left the Trump administration, according to a White House official.

McGahn, who indicated in the summer he would depart the White House sometime this fall either following Supreme Court Justice Brett Kavanaugh's confirmation or the 2018 midterm elections, will be replaced by Pat Cipollone. President Trump last Saturday told reporters Cipollone was “a great guy” who is “very talented.”

McGahn's exit, first reported by the New York Times, comes after he clashed with Trump over potentially granting his former campaign chairman Paul Manafort a pardon. Manafort was convicted by a Virginia federal court in August and pleaded guilty in September ahead of another trial in Washington to charges stemming from special counsel Robert Mueller's federal Russia probe.

[Also read: Here are the notable Trump aides who have left the administration]

McGahn also sat with Mueller's team for about 30 hours in at least three interviews, without his lawyer offering a full debrief to the president's attorneys on what was said during those meetings.

Among the former counsel's achievements are two Supreme Court appointments, including Trump's first pick Justice Neil Gorsuch.

Cipollone, the incoming counsel, will likely be charged with managing a surge in congressional subpoenas and inquiries, especially if Democrats take back a majority in Congress in November's midterm elections.