The White House said she "betrayed" the Department of Justice when acting US Attorney General Sally Yates publicly questioned whether his controversial refugee and immigration ban was constitutional and refused to defend it in court.

Here is the memo she wrote to lawyers before she was fired:

On January 27, 2017, the President signed an Executive Order regarding immigrants and refugees from certain Muslim-majority countries. The order has now been challenged in a number of jurisdictions.

As the Acting Attorney General, it is my ultimate responsibility to determine the position of the Department of Justice in these actions.

My role is different from that of the Office of Legal Counsel (OLC), which, through administrations of both parties, has reviewed Executive Orders for form and legality before they are issued. OLC’s review is limited to the narrow question of whether, in OLC’s view, a proposed Executive Order is lawful on its face and properly drafted.

Its review does not take account of statements made by an administration or it surrogates close in time to the issuance of an Executive Order that may bear on the order’s purpose. And importantly, it does not address whether any policy choice embodied in an Executive Order is wise or just.

Similarly, in litigation, DOJ Civil Division lawyers are charged with advancing reasonable legal arguments that can be made supporting an Executive Order. But my role as leader of this institution is different and broader. My responsibility is to ensure that the position of the Department of Justice is not only legally defensible, but is informed by our best view of what the law is after consideration of all the facts.

In addition, 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. 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.