A podium with the logo for the Centers for Disease Control and Prevention at the Tom Harkin Global Communications Center on October 5, 2014 in Atlanta, Georgia. (Photo by Kevin C. Cox/Getty Images)
CNN  — 

Two senior Trump political appointees departed the US Centers for Disease Control and Prevention, a senior official at the agency confirmed to CNN.

Kyle McGowan, the chief of staff, and Amanda Campbell, the deputy chief of staff, resigned effective Friday, leaving to start a consulting firm, the official said. Both left voluntarily, the official added.

“The CDC is filled with dedicated public health professionals that come to work every day with one purpose: to save lives. Particularly during the response to COVID-19, they have continued to work tirelessly, often unrecognized, to protect the health and safety of Americans. Amanda and I are honored to have had the opportunity to serve alongside each and every one of them. I’m grateful that they are on the front lines fighting to make our nation and world a healthier and safer place to live,” McGowan said in a statement. “Amanda and I spent more than two years serving at the CDC and chose to leave to start our own business.”

Politico first reported the news of their departures.

The pair had been criticized by Trump administration officials for not being loyal enough. McGowan started working in Health and Human Services under then-Secretary Tom Price. He first served as director of external affairs for HHS before moving to the CDC. CNN has reached out to HHS for comment about the departures.

McGowan was the first ever CDC chief of staff who was a political appointee, the official said.

CNN saw the letter sent by Campbell Friday morning announcing her departure and thanking the CDC for her time at the agency.

As the US battles the coronavirus pandemic, there’s been a rift between the White House and the CDC and a disconnect in messaging.

The CDC has fought questions about its trust and credibility and drawn accusations from the West Wing that the agency bungled early efforts to ramp up testing — a critical misstep in the nation’s handling of the crisis. CDC officials in May told CNN that their agency’s efforts to mount a coordinated response to the Covid-19 pandemic had been hamstrung by the White House.

The agency’s director, Dr. Robert Redfield, admitted late last month in an interview with ABC News that there have been issues with the federal response and that the US was slow in recognizing the coronavirus threat from Europe.

This story has been updated to include additional background information.

CNN’s Lauren Koenig and Veronica Stracuqalursi contributed to this report.