Rep. Tony Gonzales said Monday he will retire from Congress, after the Texas Republican faced bipartisan heat for having an affair with a staffer who later died by suicide.

“There is a season for everything and God has a plan for us all,” the congressman wrote on X. “When Congress returns tomorrow, I will file my retirement from office. It has been my privilege to serve the great people of Texas.”

Gonzales did not immediately respond to HuffPost’s request for comment. The three-term lawmaker already confirmed last month he dropped his reelection bid.

Gonzales initially claimed the allegation was part of a calculated political attack against him.

However, the husband of the staffer, Regina Santos-Aviles, provided HuffPost and other news outlets with text messages from her cellphone that suggest the opposite. In the May 2024 exchange, Gonzales and Santos-Aviles discussed nude pictures.