Updated at 7:05 p.m. ET
Secret Service Director Randolph "Tex" Alles is leaving his job, according to the White House.
In a statement, White House Press Secretary Sarah Sanders said Alles "has done a great job at the agency" and would be stepping down shortly to be replaced by James M. Murray, a career Secret Service member, who will start in May.
Alles took over the post in April 2017, coming over from Customs and Border Protection, another agency within DHS. He is a retired Marine Corps general.
His ouster comes after a Chinese woman carrying a thumb drive infected with malware talked her way into Mar-a-Lago, the president's club in Palm Beach, Fla., while the president was nearby. She was stopped only after telling a reception desk attendant she was at the club to attend a nonexistent function.
It was not immediately clear whether Alles' departure is connected to that incident. After it happened, Trump defended the service's actions, saying: "I could not be happier with Secret Service. Secret Service has done a fantastic job from day one. Very happy with them."
Alles denied in a statement that he was fired, saying he was "told weeks ago by the Administration that transitions in leadership should be expected across the Department of Homeland Security."
The Secret Service is part of DHS and Alles' departure follows the resignation of Homeland Security Secretary Kirstjen Nielsen, as well as Trump's decision to withdraw Ronald Vitiello, his nominee to head Immigration and Customs Enforcement, in favor of someone "tougher." The administrator of FEMA, another DHS agency, is also without a permanent director.
Copyright 2019 NPR. To see more, visit https://www.npr.org.