President Donald Trump has fired acting Attorney General Sally Yates, making Dana Boente, the US Attorney for the Eastern District of Virginia the new acting attorney general.

Yates was relieved of her post Monday, just hours after news broke that she was instructing Department of Justice lawyers not to defend the executive order.

.@POTUS has named Dana Boente, US Attorney for the Eastern District of VA as Acting Attorney General. Sally Yates has been relieved. — Sean Spicer (@PressSec) January 31, 2017

Yates "betrayed the Department of Justice by refusing to enforce a legal order designed to protect the citizens of the United States," a press release from the Office of the Press Secretary read.

Boente, an Obama appointee, was confirmed by the Senate to his previous US Attorney post. The Trump administration told reporters Monday evening that was good enough to allow him to sign Foreign Intelligence Surveillance Act (FISA) warrants authorizing surveillance of perceived foreign threats in the US.

This is unprecedented, as Boente's Senate confirmation did not grant him FISA approval power. That authority is reserved to the US attorney general and deputy attorney general, who until now have been directly confirmed by the Senate to those posts. It remains to be seen if this move will face a legal challenge.

"I am honored to serve President Trump in this role until Senator Sessions is confirmed. I will defend and enforce the laws of our country to ensure that our people and our nation are protected," Boente said as Acting Attorney General in the press release.

URGENT: Acting AG tells DOJ lawyers not to defend #Trump travel ban order https://t.co/AWPRDFfvEmpic.twitter.com/8CRm4VBNgm — RT America (@RT_America) January 30, 2017

“I am responsible for ensuring that the positions we take in court remain consistent with this institution’s solemn obligation to always seek justice and stand for what is right,” Yates wrote in a letter, according to the New York Times. “At present, I am not convinced that the defense of the executive order is consistent with these responsibilities nor am I convinced that the executive order is lawful.”

Trump responded to Yates' move on Twitter, calling it an example of Democrats' obstruction "for purely political reasons."

The Democrats are delaying my cabinet picks for purely political reasons. They have nothing going but to obstruct. Now have an Obama A.G. — Donald J. Trump (@realDonaldTrump) January 31, 2017

Former Attorney General Eric Holder, who served under President Obama, tweeted support for Yates after her termination.