Wisconsin Republican Rep. Jim Sensenbrenner announced Wednesday that he will not run for reelection next year, according to multiple local media reports.

The longtime lawmaker’s exit means the Badger State is losing its most senior member, and the second-most-senior Republican in the House. He is also the second Wisconsin Republican to announce he is leaving Congress after Rep. Sean P. Duffy said last month that he would be resigning on Sept. 23.

Sensenbrenner told the Milwaukee Journal Sentinel that he was leaving Congress on his own terms.

“You can see the end of the line sometime. Being able to do this on my timetable rather than after a redistricting in 2022 will allow me to go out on a high note,” he said. “This is just me feeling the time would be coming in the next few years, and I think this is the best time for me personally, and for both the Republican Party and for me politically.”

Sensenbrenner has represented the Milwaukee suburbs since he was first elected in 1978. President Donald Trump carried his 5th District by 20 points in 2016 and Sensenbrenner won a 21st term last year by 24 points.