Late Monday night, as Americans were preparing to ring in the new year, Defense Secretary James Mattis was having a very different sort of evening. After decades of service, the former Marine general relinquished authority over the Pentagon to his former deputy secretary and current acting defense secretary, Patrick Shanahan.

According to the Department of Defense, the turnover was completed at 11:59 local time on Monday night, placing Shanahan in the role just as a tumultuous year for the Trump administration came to a close.

Although President Trump seemed to revel in Mattis’ reputation as a war-fighter and the nickname “Mad Dog” early on, rumors of the relationship between the two souring permeated throughout Washington D.C. for months prior to Mattis’ resignation. Ultimately, it appears the president’s decision to withdraw troops from Syria and Afghanistan solidified Mattis’ decision to leave, though the language contained within his highly publicized resignation letter suggests the two had failed to find much common ground on anything during their nearly two years spent working together.

Prior to his departure, Mattis released one last memo addressed to all Defense Department staff in which he tempered the rhetoric contained within his resignation letter, acknowledging the challenging situation and emphasizing that America’s war-fighting apparatus will remain as strong and capable as ever under the forthcoming leadership.

However, Mattis did echo some of the sentiments he emphasized in his resignation, encouraging the troops to “hold fast alongside” allies and remain aligned against foes. Mattis was critical of President Trump’s adversarial approach to allied nations and apparent friendly demeanor toward historical opponents.

You can read Mattis’ full farewell below:

Mattis to ring in the New Year by turning over the Pentagon at midnight on Monday

Read Next: Mattis to ring in the New Year by turning over the Pentagon at midnight on Monday

MEMORANDUM FOR ALL DEPARTMENT OF DEFENSE EMPLOYEES

SUBJECT: Farewell Message

On February 1, 1865, President Lincoln sent to General Ulysses S. Grant a one sentence telegram. It read: “Let nothing which is transpiring, change, hinder, or delay your military movements, or plans.”

Our Department’s leadership, civilian and military, remains in the best possible hands. I am confident that each of you remains undistracted from our sworn mission to support and defend the Constitution while protecting our way of life. Our Department is proven to be at its best when the times are most difficult. So keep the faith in our country and hold fast, alongside our allies, aligned against our foes.

It has been my high honor to serve at your side. May God hold you safe in the air, on land, and at sea.

James N. Mattis