Gov. Rick Perry pumped his fists in the air and gave a thumbs up sign to those in the gallery as he entered the Texas House chamber for the final time as an elected state official.

It was the room where his 30-year stint in public office began as a Democratic state representative in the 1985 legislative session. Since switching parties in 1989, he has served as the state’s agriculture commissioner, lieutenant governor and, for the last 14 years, longest-tenured governor in Texas history.

Most members of the Texas Legislature were on hand to hear Perry’s parting words, though a number of House Democrats were still in a caucus meeting electing a new chair when the event began and opted not to come in late.

Newly elected statewide officials, including Perry’s successor, Gov.-elect Greg Abbott, and the new land commissioner George P. Bush, whose father’s possible presidential bid may prove an obstacle to Perry’s own ambitions, also attended. Also present were several of the outgoing governor’s current and former staffers and appointees.

The Texas Tribune thanks its sponsors. Become one.

In 2011, his campaign for the Republican presidential nomination was memorably unsuccessful, but in the run-up to the 2016 race, he has adopted a more statesman-like image and tone than his previous effort.

The speech received a warm reception from the gallery, though much of it had been said before. It was heavy on themes that are likely familiar to those that have heard him on the stump, such as the state’s job growth and economic expansion, which he said has contributed to a “creative and cultural arts boom.”

 “I felt like it was a campaign speech,” state Rep. Donna Howard, D-Austin, said. “That may be why some people chose not to stick around. “

Perry struck a bipartisan chord in his remarks, urging fellow Republicans to “not place purity ahead of unity.”

“There is room for different voices, for disagreement,” he said. “Compromise is not a dirty word if it moves Texas forward.”

The Texas Tribune thanks its sponsors. Become one.

State Sen. Judith Zaffirini, D-Laredo, said the sentiment came as a “pleasant surprise.”

“It was a very good speech,” she said. “Of all the ones I’ve seen, it was his best.”

State Rep. Jeff Leach, R-Plano, who hails from the conservative wing of the Republican Party, did not take objection.

“I think he’s right,” Leach said. “There are certain convictions that all of us have that we don’t compromise on, but where we can find balance and prudent compromise, I think we’ve done that.”

Perry’s remarks also touched on his support for support for diversion programs for non-violent drug offenders.

"We must remember when it comes to the disease of addiction, the issue is not helping bad people become good, but sick people become well," he said. "Turning to diversion programs hasn't made us soft on crime. It's made us smart on crime."

While it was his last speech as governor, it will likely not be the last time Texans hear Perry speak. He is considering and preparing for a possible presidential bid, some of the staff and advisors for which were in the audience.