Attorney General William Barr is resigning amid lingering tension with the president.

Barr went to the White House on Monday, where President Donald Trump said he submitted his letter of resignation. “As per letter, Bill will be leaving just before Christmas to spend the holidays with his family,” Trump tweeted.

Trump has publicly expressed his anger about Barr’s statement to The Associated Press earlier this month that the Justice Department had found no widespread election fraud that would change the outcome of the election. Trump has also been angry that the Justice Department did not publicly announce it was investigating Hunter Biden ahead of the election, despite department policy against such a pronouncement.

Trump said Deputy Attorney General Jeff Rosen, whom he labeled “an outstanding person,” will become Acting Attorney General.