Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Carla Provost, one of the longer-serving members of President Donald Trump's administration, is stepping down as chief of U.S. Border Patrol, a spokesperson for the agency said Tuesday.

There was no immediate indication who will replace Provost, a 25-year veteran who is the first woman to lead the agency, officials said. Her departure was first reported by the Washington Examiner.

Border Patrol, the law enforcement arm of U.S. Customs and Border Protection, is part of the Department of Homeland Security. A Homeland Security official speaking on background described Provost's exit as "pretty simple," saying it was related to her having become eligible to retire.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Provost, 50, became acting chief in April 2017, when Chief Ron Vitiello became acting deputy commissioner of Customs and Border Protection. She became permanent chief in August 2018.

Download the NBC News app for breaking news and politics

Last summer, Provost condemned racist posts about migrants that were made public after having been posted on a secret Facebook group for current and former Border Patrol agents, calling them "completely inappropriate and contrary to the honor and integrity I see — and expect — from our agents day in and day out."

Provost said in congressional testimony in July that she joined the group in 2017 and that she had been one of the group's thousands of members, saying she "didn't think anything of it at the time" because she rarely used Facebook.

She said that when she learned of the racist posts, she immediately self-reported her membership to internal investigators and "turned my entire Facebook account over."

"I gave them my log-in and my password," she said.

Border Patrol chief becomes one of at least 14 top Homeland Security positions that remain vacant or are occupied by acting officials, beginning at the top with Chad Wolf, the acting secretary of homeland security.