*This story has been updated to include comment from U.S. Sen. Ted Cruz and the Leadership Conference on Civil and Human Rights.

When the White House endorsed a bipartisan effort to reduce the federal prison population and improve the lives of inmates already behind bars, President Donald Trump made one thing clear: He wants “criminal justice reform, Texas style.”

“You know, you think of Texas as a tough law-and-order state, and they’ve done it,” the president said during a rally in Mississippi on Monday.

“We want safer communities,” he continued. “We want people to have better opportunities and a better life. Tough on crime but also smart on crime.”

Trump was praising the First Step Act, a bill backed by a bipartisan prison reform organization’s national initiative called #cut50, which aims to reduce the nationwide prison population by 50 percent. The initiative partnered with the president’s son-in-law and advisor, Jared Kushner, to draft legislation that takes steps like banning the shackling of women during childbirth, providing a pathway to compassionate release for the terminally ill and elderly, and placing prisoners within a 500-mile driving distance of their families.

But while #cut50 is based in California, many of its ideas for the bill are rooted in Texas. And many Texans involved in the state’s criminal justice reform efforts over the past decade are now pushing for change at the federal level.

The First Step Act offers incentives for inmates to participate in “life-changing” classes and programming that would better prepare them for life after release, an initiative Texas started over a decade ago. The bill also focuses on reducing recidivism by offering vocational training, academic classes and substance abuse treatment, which would earn prisoners “good time credits” that could take up to 54 days off their sentence per year.

“This bill is a sign that you can be a conservative and can be smart on crime,” said Jessica Jackson Sloan, #cut50’s director and co-founder. “Looking at Texas and Georgia and other states, programming and rehabilitation leads to better public safety.”

Texas became a leading force in prison reform in 2007, when state lawmakers and Republican Gov. Rick Perry found themselves at a crossroads. The state prison population hit 170,000, a reflection of the national rush to incarcerate non-violent drug offenders since the 1970s. Housing all those inmates was expensive.

Having crunched the numbers to determine that the state needed to authorize an additional $2 billion for another 17,000 prison beds, a group of conservative thinkers proposed an alternative: What if the Legislature instead reduced the need for the beds by creating drug courts, reducing incarceration rates for nonviolent offenders and offering rehabilitation and educational opportunities to inmates, all for the lower price of $241 million?

Marc Levin, who serves as the vice president of criminal justice policy at the conservative Austin think tank Texas Public Policy Foundation, helped craft the reform, and credits the initiative for allowing the state to close eight prisons since 2007. The state's prison population has since dipped by 30,000, and the crime rate is the lowest since 1967, he said.

“It’s not just about saving money,” Levin said. “It’s about getting people into the workforce, keeping people with their families and, of course, redemption.”

Levin, who also helped kickstart TPPF’s national reform campaign, Right on Crime, in 2010, is now pushing for the federal bill.

“We have a unique credibility on this because of what’s been accomplished in Texas,” Levin said. “It’s certainly gratifying and it does reflect the work of many organizations and colleagues within TPPF and Right on Crime. It represents a broader cultural shift that this movement, regardless of what person might be in a particular office, is getting a great deal of currency with the public.”

Other Texas conservatives are at the prison reform table, too. Brooke Rollins left her role as the CEO and president at the Texas Public Policy Foundation for the White House in February. She now serves in the Office of American Innovation, which works on criminal justice issues with TPPF. And Perry has continued advocating from his post as the U.S. energy secretary.

“He’s just an outstanding leader on this issue," said Sloan, the #cut50 director. "He’s been a cheerleader and champion on a federal level.”

And Texas Republican U.S. Sen. John Cornyn — who said the bill is “modeled after successful reforms that states like Texas have implemented” — will be tasked with whipping up enough support in the Senate for a vote on the First Step Act before the end of the year, something U.S. Sen. Majority Leader Mitch McConnell has dragged his feet on.

The bill has already passed through the House with a vote of 360–59. But without Senate approval in the final weeks of this year, it would have to start the process over again in 2019, this time facing a Democratic House and a Republican Senate.

And not all Texans are on board. U.S. Sen. Ted Cruz, R-Texas, has not said whether he will vote for the bill, but previously told reporters that he supports reducing mandatory minimum prison sentences for nonviolent drug offenders. That legislation, however, "should not be releasing violent criminals," he said. Cruz said that he is working with the bill's sponsors to ensure violent criminals are not included, but the Koch brothers’ political advocacy group, Americans for Prosperity, released an ad on Tuesday targeting Cruz in hopes of convincing him to support it.

Some liberal organizations are also calling on legislators to vote down the bill, saying that it doesn’t go far enough. The Leadership Conference on Civil and Human Rights, a national coalition of 200 organizations, previously called for a vote down of the bill, saying that although well-intentioned, the bill “falls short on its promise to ‘meaningfully’ tackle the problems in the federal justice system – racial disparities, draconian mandatory minimum sentences, persistent overcrowding, lack of rehabilitation, and the exorbitant costs of incarceration.”

In an emailed statement to the Tribune, a spokesperson said the coalition is currently reviewing the bill and working with members of Congress to ensure that the First Step Act is as effective as possible, and that it "will change the lives of real people."

Jorge Renaud, a senior policy analyst at Prison Policy Initiative who served 27 years in Texas prisons for burglary and robbery offenses, also maintains skepticism about the bill's impact.

“The bill excludes too many classes of individuals,” Renaud said. “It makes too many exceptions for people who have been convicted of serious crimes or people who have been down two or three times.”

Renaud said that too often legislators and groups like Right on Crime ignore the input of people who have experienced tough prison policies, which leads to incomprehensive reform.

“[They’re] trying to marginalize voices of people who are like me, who have been incarcerated and who say that we need to go further," he said.

Disclosure: The Texas Public Policy Foundation has been a financial supporter of The Texas Tribune, a nonprofit, nonpartisan news organization that is funded in part by donations from members, foundations and corporate sponsors. Financial supporters play no role in the Tribune's journalism. Find a complete list of them here.