US Defence Secretary James Mattis is resigning, the latest in a string of senior US officials to do so.
His announcement came a day after President Trump said he was withdrawing troops from Syria – a decision General Mattis is understood to oppose.
In his resignation letter, Gen Mattis strongly hinted at policy differences with Mr Trump.
He said the president had the right to appoint someone “whose views are better aligned with yours”.
Gen Mattis, 68, will leave the job in February. President Trump has not immediately named a successor, but said one would be appointed shortly.
Members of Congress from both sides of the political divide have reacted with shock to the resignation.
Senate Majority Leader Mitch McConnell, from Mr Trump’s own Republican Party, said he was “distressed” to hear the resignation was reportedly due to “sharp differences” that Gen Mattis had with the president.