Texas Republican Rep. Joe Barton, under fire for lewd behavior, announced Thursday he will not seek re-election next year.

Barton, 68, who exchanged nude photos with one woman and sent sexually suggestive messages to another, has represented the suburban Fort Worth district for more than 30 years.

As he noted in a statement, he has taken more than 20,000 votes on the House floor.

"I am very proud of my public record and the many accomplishments of my office," Barton's statement said. "It has been a tremendous honor to represent the 6th District of Texas for over three decades, but now it is time to step aside and let there be a new voice. I am announcing today that I will not seek reelection in 2018."