EPA Administrator Scott Pruitt offered his resignation to President Donald Trump on Thursday, saying it was "an honor" to serve in his cabinet.

Read the full text of his resignation below:

Mr. President, it has been an honor to serve you in the Cabinet as Administrator of the EPA. Truly, your confidence in me has blessed me personally and enabled me to advance your agenda beyond what anyone anticipated at the beginning of your Administration. Your courage, steadfastness and resolute commitment to get results for the American people, both with regard to improved environmental outcomes as well as historical regulatory reform, is in fact occurring at an unprecedented pace and I thank you for the opportunity to serve you and the American people in helping achieve those ends. That is why it is hard for me to advise you I am stepping down as Administrator of the EPA effective as of July 6. It is extremely difficult for me to cease serving you in this role first because I count it a blessing to be serving you in any capacity, but also, because of the transformative work that is occurring. However, the unrelenting attacks on me personally, my family, are unprecedented and have taken a sizable toll on all of us. My desire in service to you has always been to bless you as you make important decisions for the American people. I believe you are serving as President today because of God’s providence. I believe that same providence brought me into your service. I pray as I have served you that I have blessed you and enabled you to effectively lead the American people. Thank you again Mr. President for the honor of serving you and I wish you Godspeed in all that you put your hand to. Recent Stories in Politics Arizona Governor Halts Last-Minute Dem Push to Change Voting Laws

MSNBC Guest Derides Black Kentucky AG as ‘Skin Folk' But ‘Not Kinfolk'

Susan Rice Compares Trump to Mao Zedong Your Faithful Friend, Scott Pruitt

President Trump announced Pruitt's resignation on Twitter, praising his work at the agency.

"I have accepted the resignation of Scott Pruitt as the Administrator of the Environmental Protection Agency," Trump wrote. "Within the Agency Scott has done an outstanding job, and I will always be thankful to him for this."

"I have no doubt that Andy will continue on with our great and lasting EPA agenda," he wrote. "We have made tremendous progress and the future of the EPA is very bright!"

Trump also said the agency will be led in the immediate future by Pruitt's deputy Andrew Wheeler, who faced Senate confirmation for his current post.