Environmental Protection Agency chief Scott Pruitt, one of the most scandal-plagued Cabinet officials in U.S. history, is leaving the agency.

“I have accepted the resignation of Scott Pruitt as the administrator of the Environmental Protection Agency,” Trump said in a tweet Thursday. “Within the agency Scott has done an outstanding job, and I will always be thankful to him for this.”