President Trump reportedly offered the White House chief of staff position to Homeland Security Secretary John Kelly multiple times before eventually appointing him to the post on Friday.

Trump had first offered the post occupied by Reince Priebus to Kelly in mid-May, according to The Washington Post, but the general reportedly declined the offer while saying he was flattered.

"The president has tried to convince the general multiple times, and the general has politely declined several times," one administration official told the newspaper.

ADVERTISEMENT

"But given what's going on in Washington, I think the president really needs the general to help him restore order in this White House and advance his vision."

Trump announced on Friday via Twitter that he had named Kelly his new chief of staff, replacing Priebus after just six months.

I am pleased to inform you that I have just named General/Secretary John F Kelly as White House Chief of Staff. He is a Great American.... — Donald J. Trump (@realDonaldTrump) July 28, 2017

...and a Great Leader. John has also done a spectacular job at Homeland Security. He has been a true star of my Administration — Donald J. Trump (@realDonaldTrump) July 28, 2017

Priebus was engulfed in an ongoing feud with newly minted communications director Anthony Scaramucci, who had publicly attacked him and suggested he was on the verge of being forced out.

The day before the shakeup was announced, The New Yorker published an interview with Scaramucci in which he called Priebus a "f------ paranoid schizophrenic."

Priebus on Friday declined to directly respond to the attacks.