Talented civil servants are fleeing the State Department, and the reputation of America is suffering as a result.

When an award-winning U.S. diplomat resigned this week, she made sure her exit wouldn’t be forgotten.

In a scathing resignation letter, Elizabeth Shackelford, who worked as a foreign service officer in Nairobi, Kenya, tore into the Trump administration and Secretary of State Rex Tillerson for undermining the work of the State Department and damaging America’s position as a leader on the world stage.

Shackelford said she decided to resign because it had become clear that the Trump administration had abandoned human rights and diplomacy in favor of reckless realpolitik and friendships with dictators, according to Foreign Policy, which obtained a copy of the letter.

The administration’s disdain for diplomacy is driving out talented staff members and reducing our capacity to avert and respond to global disasters, she said in the letter.

“I have deep respect for the career Foreign and Civil Service staff who, despite the stinging disrespect this Administration has shown our profession, continue the struggle to keep our foreign policy on the positive trajectory necessary to avert global disaster in increasingly dangerous times,” Shackelford wrote. “With each passing day, however, this task grows more futile, driving the Department’s experienced and talented staff away in ever greater numbers.”

The “unfilled vacancies and proposed budget and staffing cuts had left the department adrift, with weakened influence inside the administration and on the ground,” she added.

As a foreign service officer, Shackelford — described as a rising star in the State Department — was most recently stationed in Nairobi for the U.S. mission to Somalia.

In 2015, she received the Barbara Watson Award for Consular Excellence for “extraordinary dedication to protecting American citizens during the South Sudan Crisis in 2013 and 2014.” Her leadership and experience in crisis planning helped “locate and evacuate over 790 endangered American citizens, legal permanent residents and others spread throughout South Sudan.”

In her resignation letter, Shackelford called on Tillerson to stand up for State Department employees and to display “leadership and a commitment to our people, our mission, and our mandate as the foreign policy arm of the United States.”

“If you are unable to do so effectively within this Administration, I would humbly recommend you follow me out the door,” she added pointedly.

Shackelford joins a growing chorus of voices slamming the Trump administration for abandoning diplomacy and gutting the State Department at a critical time, as the U.S. faces major foreign policy challenges in the Middle East, North Korea, Russia, and elsewhere. They have also been harshly criticized for downplaying human rights abuses in countries like Russia, Turkey, and the Philippines.

While some attribute this to incompetency, many see it as part of Trump’s short-sighted nationalist agenda. Whatever the cause, the effect is clear: Talented civil servants are fleeing, and the reputation of America is suffering as a result.