Alexander Acosta is out as labor secretary, President Donald Trump told reporters Friday.

His resignation followed a wave of new information about the alleged crimes of accused child sex trafficker Jeffrey Epstein, for whom Acosta helped broker a sweetheart plea deal more than a decade ago.

Trump said it was Acosta’s decision to step down. The president signaled his support for the labor secretary earlier this week, telling reporters he felt “very badly” for him “because I’ve known him as being somebody that works so hard and has done such a good job.”

“I feel very badly about that whole situation. But we’re going to be looking at that and looking at it very closely,” Trump said.

Acosta reiterated that point during a press conference on Wednesday, saying Trump “has publicly made clear that I’ve got his support.” He also defended the Epstein deal, saying, “We believe that we proceeded appropriately.”