Defense Secretary Jim Mattis will leave his post in a little more than two months, President Donald Trump announced on Thursday.

“General Jim Mattis will be retiring, with distinction, at the end of February, after having served my Administration as Secretary of Defense for the past two years,” President Donald Trump tweeted.

“During Jim’s tenure, tremendous progress has been made, especially with respect to the purchase of new fighting … equipment. General Mattis was a great help to me in getting allies and other countries to pay their share of military obligations. A new Secretary of Defense will be named shortly. I greatly thank Jim for his service!”

Trump and Mattis have reportedly been at odds recently over military issues, according to numerous published reports.

In his resignation letter, Mattis implicitly criticized Trump for not treating allies with respect and for not being "clear-eyed" about U.S. enemies and competitors.

This is a breaking story. Please check back for updates.