A video of former Deputy US Attorney General Sally Yates's 2015 confirmation hearing foreshadows the exact series of events that led to her firing by President Donald Trump on Monday.
The video resurfaced after Yates was dismissed for telling Justice Department employees she was not convinced Trump's executive order targeting immigrants and refugees was lawful.
RELATED: Jeff Sessions - Nominee for US Attorney General
During Yates's 2015 confirmation hearing, Jeff Sessions, the Alabama senator who Trump would later nominate as his attorney general, asked Yates "Do you think the attorney general has a responsibility to say no to the president if he asks for something that's improper?"
RELATED: Photos of Sally Yates
Deputy Attorney General Sally Q. Yates speaks during a press conference at the Department of Justice on June 28, 2016 in Washington, DC. Volkswagen has agreed to nearly $15 billion in a settlement over emissions cheating on its diesel vehicles.
(Photo by Pete Marovich/Getty Images)
U.S. Deputy Attorney General Sally Quillian Yates testifies during a Senate Judiciary Committee hearing on "Going Dark: Encryption, Technology, and the Balance Between Public Safety and Privacy" in Washington July 8, 2015.
U.S. President Barack Obama attends a meeting with FBI Director James Comey (C), Deputy Attorney General Sally Yates (R) along with DHS Secretary Charles Johnson (not pictured) and NCTC Director Nicholas Rasmussen (not pictured) at the Oval Office of the White House in Washington, U.S., June 13, 2016.
U.S. Deputy Attorney General Sally Quillian Yates (L) and FBI Director James Comey are sworn in to testify at a Senate Judiciary Committee hearing on "Going Dark: Encryption, Technology, and the Balance Between Public Safety and Privacy" in Washington July 8, 2015.
Deputy Attorney General Sally Q. Yates (L) speaks alongside FBI Director James Comey (2L) and Chuck Rosenberg (C), acting administrator of the Drug Enforcement Administration (DEA) as they attend a new Implicit Bias Training program at the Department of Justice in Washington, DC, June 28, 2016.
(SAUL LOEB/AFP/Getty Images)
Deputy Attorney General Sally Quillian Yates during a Senate Judiciary Committee hearing on Going Dark and data encryption in Washington, USA on JULY 8, 2015.
(Photo by Samuel Corum/Anadolu Agency/Getty Images)
Flanked by Environmental Protection Agency Administrator Gina McCarthy and Federal Trade Commission Chairwoman Edith Ramirez , Deputy Attorney General Sally Q. Yates speaks during a press conference at the Department of Justice on June 28, 2016 in Washington, DC. Volkswagen has agreed to nearly $15 billion in a settlement over emissions cheating on its diesel vehicles.
(Photo by Pete Marovich/Getty Images)
U.S. Attorney General Loretta Lynch (2nd L) delivers closing remarks to the Justice Department Summit on Violence Crime Reduction with Deputy Attorney General Sally Quillian Yates (3rd L) and other Justice Department officials at the Washington Plaza Hotel October 7, 2015 in Washington, DC. Lynch invited mayors and police chiefs from 20 cities and other federal officials to the conference to discuss the root causes of crime and strategies for reducing it.
(Photo by Chip Somodevilla/Getty Images)
Deputy Attorney General Sally Yates, in her office at the Justice Department, May 15, 2015, in Washington, DC. Yates, who was confirmed by the Senate yesterday, is a former career prosecutor from Atlanta.
(Photo by Evelyn Hockstein/For The Washington Post via Getty Images)
Discover More Like This
BACK TO SLIDE
Yates, who was nominated by former President Barack Obama, said: "Senator, I believe that the attorney general or the deputy attorney general has an obligation to follow the law and the Constitution, and to give their independent legal advice to the president."
Trump fired Yates after she defied him on his immigration order Monday. He called her objections a betrayal.
Sessions has been one of Trump's most vocal supporters. Observers have questioned whether he would remain neutral if he is confirmed by the Senate.
RELATED: Poll - Favorability of protectionist policies