President Donald Trump plans to withdraw his nomination of Jared Isaacman, a billionaire entrepreneur and close associate of Elon Musk’s, who was on track to be the next NASA administrator.

Trump told associates he intended to yank Isaacman’s nomination after learning that he had donated to prominent Democrats, according to three people with knowledge of the deliberations who were not authorized to discuss them publicly. It was the latest example of loyalty as a key criterion for administration roles. In a statement Saturday, a White House spokesperson confirmed the nomination shake-up, saying a replacement would be announced by Trump soon.

The U-turn comes at a fraught moment for the space agency. NASA has so far been spared the deep cuts that have hit the National Science Foundation, the National Institutes of Health and other federal research agencies. But the Trump administration’s budget proposal for 2026 seeks to slice the space agency’s budget by one-quarter, lay off thousands of employees and end financing for a slew of current and future missions.

The Trump administration also wants to overhaul NASA’s human spaceflight program, ending the Space Launch System rocket and Orion crew capsule initiatives after the Artemis III mission that is to land astronauts on the moon in 2027 and adding money to send astronauts to Mars in the coming years, something that had been a priority for Musk. People inside and outside NASA had hoped that Isaacman’s arrival as administrator would help provide stability and a clearer direction for the agency.