TEHRAN (Press Shia Agency) – US Defense Secretary Jim Mattis resigned Thursday after clashing with President Trump over the withdrawal of US troops from Syria and Afghanistan, saying in a parting letter that the president deserves someone atop the Pentagon “better aligned” with his views.

– World news –

The retired Marine general’s surprise resignation came a day after Trump shocked American allies and overruled his advisers, including Mattis, upon announcing a withdrawal from Syria. In the process, Trump declared victory over the ISIL (also Daesh), even though the Pentagon and State Department for months have been saying the fight against the group in Syria isn’t over.

Trump also ordered the Pentagon, against Mattis’s recommendation, to come up with a plan to withdraw approximately half of the American troops deployed to Afghanistan, a move that military officials have warned could plunge the nation into chaos, Washington Post reported.

The discord, coupled with an array of other disagreements, caused Trump to lose a respected Cabinet official who won widespread praise at home and abroad but who experienced increasing differences with a commander in chief known for his skepticism of American allies and military operations overseas.

Long seen as a bulwark against Trump’s isolationist impulses and more extreme proposals, Mattis served as a calm “reassurer-in-chief” as the president sent out startling and provocative tweets. His departure prompted a chorus of concern about the president’s temperament and decision-making processes and injected new uncertainty into the administration’s approach to global threats.

Mattis pointed to some of his differences with Trump in a parting letter he submitted to the White House on Thursday, which marked the first resignation of a Cabinet official in the Trump administration over a matter of principle that exploded into public view.

The retired general emphasized that the United States derives its strength from its relationships with allies and should treat them with respect. He said the country must also be “clear-eyed” about threats, including from groups such as the ISIL.

“We must do everything possible to advance an international order that is most conducive to our security, prosperity and values, and we are strengthened in this effort by the solidarity of our alliances,” Mattis wrote. He did not offer any praise of Trump in the letter.

The defense secretary resigned during what one senior administration official described as a disagreement in the Oval Office on Thursday afternoon, in which Mattis sought to persuade the president to stand down on the Syria withdrawal but was rejected.

Trump was later given a copy of the resignation letter and noted to aides that it was not positive toward him. By then, the president had shocked the Pentagon by filming a video on the White House lawn in which he claimed the ISIL had been defeated and said US troops who had died in combat would be proud to see their fellow service members return home.

While the Syria announcement looked poised to score political points domestically, Mattis and other top advisers suspect that it will deliver a win to Russia, Iran and Syrian leader Bashar ­al-Assad, while risking a resurgence of the ISIL.

Mattis also has argued against drawing down troops from Afghanistan, which Trump is leaning toward executing in the coming months, according to administration officials. Senior administration officials said late Thursday that Trump had ordered the military to come up with a plan to remove approximately 7,000 of the 14,000 US troops deployed to the country, after a 17-year war, starting as early as January.

The Pentagon released the resignation letter moments after Trump announced on Twitter that Mattis would be leaving, saying the already retired Marine would “retire.” Trump made no mention of his differences in opinion with Mattis.

“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,” Trump wrote. “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!”

During his nearly two years at the Pentagon, Mattis secured sizable increases in defense spending after years of budget caps and oversaw the development of a new strategy that began orienting the military toward competition with China and Russia and away from combating extremist insurgencies in the Middle East.

A staunch Russia hawk, Mattis bristled at the president’s conciliatory gestures toward Russian President Vladi­mir Putin and comments that undermined NATO, according to people close to him. Russia and China “want to shape a world consistent with their authoritarian model,” Mattis underscored in his resignation letter.

Moscow and Beijing are looking for “veto authority over other nations’ economic, diplomatic and security decisions,” he said, warning the president that the United States must “use all the tools of American power to provide for the common defense.”

Lawmakers, ambassadors and policymakers for two years have looked to Mattis as a source of stability in a chaotic administration. His sudden resignation on Thursday sent jitters through a Washington establishment already coping with a meltdown in the financial markets and a possible government shutdown.

House Minority Leader Nancy Pelosi (D-Calif.) said she was “shaken” by the resignation and described it as “very serious for our country.”

Republicans were also dismayed by the decision.

Sen. Ben Sasse (R-Neb.) said it was “a sad day for America because Secretary Mattis was giving advice the president needs to hear.”

Senate Majority Leader Mitch McConnell (R-Ky.) said the United States must maintain its carefully built alliances and a clear understanding of its friends and foes, recognizing that nations such as Russia are among the latter.

“I was sorry to learn that Secretary Mattis, who shares those clear principles, will soon depart the administration,” McConnell said in a statement. “But I am particularly distressed that he is resigning due to sharp differences with the president on these and other key aspects of America’s global leadership.”

Known as the “Warrior Monk” from his days in uniform, Mattis developed a reputation as a cerebral thinker in the Marine Corps who liked to deliberate, read and study all possibilities before making important decisions.

That style clashed with the most freewheeling presidential administration in the postwar era, most notably this week, when Trump decided to withdraw from Syria without first running an in-depth policy process that would consider the options and ramifications.

Mattis’s frustrations grew with the arrival of national security adviser John Bolton, who curbed decision-making meetings and interagency policy discussions that the defense secretary valued, according to people familiar with the matter.

The final rupture between the defense secretary and the president came after weeks of tensions over Trump’s broadsides against allies, his demands to withdraw from military entanglements in the Middle East and personnel decisions.

Mattis told one confidante last month that he wasn’t going to leave because he had too many changes to make at the Defense Department, particularly on personnel.

But the defense secretary lost the most crucial battle on that front this month when the president disregarded his recommendation to make Air Force Chief of Staff Gen. David Goldfein the next chairman of the Joint Chiefs of Staff and instead chose Army Chief of Staff Gen. Mark A. Milley.

The person close to Mattis said that choice was particularly offensive to the defense secretary.

“It’s the one major selection the secretary of defense usually gets,” the person said, who like others spoke on the condition of anonymity to discuss the defense secretary’s private views. “And the president totally overruled him.”

It wasn’t the first time. The president announced the creation of a Space Force as a separate branch of the military, even though Mattis had opposed the idea. Trump forced his defense secretary to scramble after announcing by tweet a ban on transgender service members from serving in the military. Trump also foisted other initiatives on Mattis that the defense secretary didn’t see as particularly important, from a deployment to the US border with Mexico to a military parade that failed to materialize.

According to people in the White House, Trump didn’t consider Mattis to be fully on board with some of his key initiatives. Mattis expressed skepticism over the prospects of nuclear disarmament negotiations with North Korea and bristled at the president’s decision to suspend certain military exercises with South Korea as a goodwill gesture. Trump told advisers that he trusted Secretary of State Mike Pompeo, who has led the North Korea negotiations, more than he trusted Mattis.

From the start, Trump and Mattis displayed starkly different attitudes toward long-standing American alliances. Trump threw Starburst candies on the table in front of German Chancellor Angela Merkel and berated British Prime Minister Theresa May; Mattis flew around the world thanking such allies for their contributions to American security.

Several possible replacements for Mattis this week decried the president’s decision to pull out of Syria, and the Senate may prove hesitant to confirm a replacement who would execute such a withdrawal. Retired Army Gen. Jack Keane called the move a “strategic mistake” on Twitter. Republican Sens. Lindsey O. Graham (R-S.C.) and Tom Cotton (R-Ark.) signed a letter demanding that Trump reconsider, warning that the withdrawal bolsters Iran and Russia. Speculation began that Trump might reach outside the world of retired generals and politicians and seek someone from the defense industry.

With a career shaped by the wars following the 9/11 attacks, Mattis caught Trump’s eye shortly after the presidential election in 2016. Revealing his choice for Pentagon chief, Trump hailed the retired general as “Mad Dog,” a nickname Mattis earned — but detested — for his conduct in battle.

In the weeks leading up to Mattis’s dismissal, Trump publicly called the defense secretary “sort of a Democrat” and began referring to him as “Moderate Dog.”

Pentagon officials downplayed accounts of friction between Mattis and the White House as speculation grew that Mattis would join other national security leaders, including Secretary of State Rex Tillerson and Lt. Gen. H.R. McMaster, Trump’s former national security adviser, who left their posts abruptly amid reports of distance from the president. Fellow retired Marine Gen. John F. Kelly, the White House chief of staff, is also leaving the administration, bringing an end to an era when Trump relied heavily on retired military brass.

In recent months, media accounts described the secretary quietly challenging or setting aside requests from the White House, even from the president himself, further fueling speculation about a possible departure.

The departure of Mattis is likely to be greeted with mixed feelings among some in uniform, many of whom revered him as a straight-talking commander with deep knowledge of military affairs. Still, service members are prohibited from speaking negatively of Trump or other senior leaders.

Retired Sgt. Maj. Carlton Kent, Mattis’s top enlisted Marine when the two were deployed in Iraq, said Thursday night that his phone has been “ringing off the hook” because service members and veterans wanted to talk about the departure.

“They were concerned that he was the right man for the right job, and now he’s transitioning,” Kent said. “They thought he was leading the department in the right direction. And it was combat-hardened warriors saying that, people who have witnessed him in combat.”