The White House announced on May 9, 2019, that Trump intended to nominate Shanahan as the Secretary of Defense. That decision was reversed on June 18, 2019, when Shanahan said that he was withdrawing, and Trump announced that he would be making Mark Esper the acting U.S. Secretary of Defense. Shanahan's last day in that position was June 24, 2019.