The United States's top diplomat to Mexico left Mexico City on Saturday for the last time in her official capacity, capping off a nearly two-year tenure in the post.

The U.S. Embassy in Mexico announced Ambassador Roberta Jacobson's departure from the Mexican capital, saying that she was flying back to the U.S. on a commercial plane.

"I am sad to leave Mexico, but take with me a deep affection for this marvelous country and the Mexican people. I believe we have made great strides in our bilateral relationship," Jacobson said in a statement. "I am not saying goodbye, but rather so long for now."

ADVERTISEMENT

In a tweet, Jacobson called serving as Washington's ambassador to Mexico her professional highlight.

"Representing [the United States] in Mexico was the position of my life," Jacobson tweeted in Spanish. "Thanks to this beautiful country and its people. I see a prosperous future for Mexico."

Lo he dicho y lo sostengo, representar a #EEUU en México fue el puesto de mi vida. Gracias a este hermoso país y a su gente. Auguro un futuro próspero para México. Fueron dos años maravillosos. ¡Aquí dejo mi corazón! https://t.co/3diarxrmB5 #MiAmorPorMéxico #JuntosSomosMásFuertes pic.twitter.com/8Jet0KV9Ov — Roberta Jacobson (@EmbRoberta) May 5, 2018

Jacobson announced in March that she would retire from the position. She has served at the State Department for 30 years, mostly dealing with Western Hemisphere issues.

In a memo to embassy staff in March, Jacobson said that she felt it was time to "move on to new challenges and adventures," but expressed that her decision was made difficult by the fact that the U.S.-Mexico relationship had reached a crucial juncture.

"I have come to the difficult decision that it is the right time to move on to new challenges and adventures," Jacobson wrote in the memo. "This decision is all the more difficult because of my profound belief in the importance of the U.S.-Mexico relationship and knowledge that it is at a crucial moment."

Her retirement comes amid a series of diplomatic departures at the State Department, where Secretary of State Mike Pompeo Michael (Mike) Richard PompeoOvernight Defense: Pentagon redirects pandemic funding to defense contractors | US planning for full Afghanistan withdrawal by May | Anti-Trump GOP group puts ads in military papers Overnight Defense: House Democrats unveil stopgap spending measure to GOP opposition | Bill includes .6B for new subs | Trump issues Iran sanctions after world shrugs at US action at UN Navalny calls on Russia to return clothes he was wearing when he fell ill MORE has recently taken the helm following President Trump Donald John TrumpOmar fires back at Trump over rally remarks: 'This is my country' Pelosi: Trump hurrying to fill SCOTUS seat so he can repeal ObamaCare Trump mocks Biden appearance, mask use ahead of first debate MORE's ouster of Rex Tillerson Rex Wayne TillersonGary Cohn: 'I haven't made up my mind' on vote for president in November Kushner says 'Alice in Wonderland' describes Trump presidency: Woodward book Conspicuous by their absence from the Republican Convention MORE earlier this year.

John Feeley stepped down as the U.S. ambassador to Panama earlier this year, saying in his resignation letter that he no longer felt comfortable serving under Trump.

In contrast, Jacobson's memo announcing her decision to retire made no mention of the president, though her departure comes during a period of heightened tensions between the U.S. and Mexico.

Trump has often taken an antagonistic approach toward the country, vowing to build a wall along the U.S.-Mexico border that he has claimed Mexico will pay for. Mexican officials, however, have rejected that demand.

At the same time, negotiators from the U.S., Mexico and Canada are working to hammer out a new version of the North American Free Trade Agreement. Robert Lighthizer Robert (Bob) Emmet LighthizerWhiskey, workers and friends caught in the trade dispute crossfire GOP senator warns quick vote on new NAFTA would be 'huge mistake' Pelosi casts doubt on USMCA deal in 2019 MORE, the U.S. trade representative, warned this week that if a deal isn't reached in the coming weeks, its future could be on "thin ice."