By announcing that the Justice Department lawyers would not defend Trump's law against legal challenges, Yates was handed a letter of dismissal signed by John DeStefano, one of Mr. Trump's White House aides.
The letter informed Yates that the President had terminated her services, and a few minutes later, Sean Spicer, the White House press secretary, lashed at Yates through a press statement.
"Ms. Yates is an Obama administration appointee who is weak on borders and feeble on illegal immigration," the report said.
Ms. Yates had confronted the President and had cast doubts on the legality of his executive order which caught the entire Justice Department by surprise.
Trump's aides were also surprised by Yates reaction and were seen huddling together in the West Wing of the White House considering their next move. On briefing the President on the latest developments, Trump told them that Yates 'had to go'.
Dana J. Boente, the United States Attorney for the Eastern District of Virginia, was hurriedly appointed to take up the position and was sworn in at 9 p.m according to White House officials. Immediately after taking the oath of office, Boente rescinded Yates decision. He also promised to abide by the law of the land.
"It is time to get serious about protecting our country," Mr. Spicer said in the statement.