Lawyers who espouse a conservative Christian agenda have found plenty of opportunities in Texas, suing on behalf of Bible-quoting cheerleaders and defending a third-grader who wanted to hand out Christmas cards that read in part "Jesus is the Christ!"

But for the First Liberty law firm, the last few years have been especially rewarding: Their attorneys have moved into powerful taxpayer-funded jobs at the Texas attorney general's office and advised President Donald Trump, who nominated a current and a former First Liberty lawyer to lifetime appointments on federal courts. Another attorney went to the Department of Health and Human Services as a senior adviser on religious freedom.

It's a remarkable rise for a modest-sized law firm near Dallas with 46 employees, and it mirrors the climb of similar firms that have quietly shifted from trying to influence government to becoming part of it. The ascent of the firms has helped propel a wave of anti-LGBT legislation and so-called religious-freedom laws in statehouses nationwide.

"First Liberty just struck gold with a Republican president and the Texas attorney general. It's pretty incredible and definitely unusual," said Daniel Bennett, a professor at John Brown University in Arkansas and author of a book on the conservative Christian legal movement.

Since 2015, First Liberty and a conservative Christian law firm, the Alliance Defending Freedom, have moved prominent lawyers to top jobs in attorney general's offices in Texas and elsewhere. In the process, they have shifted from outsiders suing government to insiders pushing religious-freedom issues. Their influence is widening under the Trump administration as it attempts to deliver on his pledges to evangelicals and other religious supporters.

Their work includes a pending U.S. Supreme Court case involving Colorado baker who refused to make a cake for a same-sex couple and another case involving a rural Texas high school whose cheerleaders were prohibited from writing inspirational Bible verses on banners during games.

The organizations have also drafted bills introduced by Republicans in state legislatures. The proposals include a bill to allow government clerks who object to same-sex marriage on religious grounds to deny marriage licenses.

It's not unusual for legal nonprofits to lose key staff to attorney general's offices. California's Democratic attorney general, Xavier Becerra, has former ACLU attorneys among his top leadership. And outside groups often work with lawmakers to shape agendas or draft bills. But few have expanded their footprint in recent years like First Liberty.

For Republican Texas Attorney General Ken Paxton, who has hired from First Liberty, two of his largest political donors are board members of the group: oilmen Tim Dunn and Kyle Stallings, who combined have given Paxton more than $767,000 in his political career through personal campaign donations and Dunn's archconservative group called Empower Texans.

One example of the back-and-forth between First Liberty and Paxton came in 2015, when he worked with the firm on legislation to curtail courtroom payouts to losing lawyers in certain cases.

"Thank you for this," First Liberty attorney Hiram Sasser wrote to Paxton's office, according to emails obtained under Texas open-records laws. "I know you guys worked hard before on this bill and are working hard on this amendment. We appreciate it."

Asked about the email exchange, Paxton spokesman Marc Rylander said in an email, "When constituents inform us about upcoming legislation, we help put them in touch with key experts in the field."

But First Liberty's attorneys are no everyday citizens to Paxton. First Liberty founder Kelly Shackelford has known Paxton for more than 30 years, endorsed his wife for a seat in the Texas Senate and donated $1,000 to a legal-defense fund for Paxton, who is awaiting trial on felony charges of misleading investors in a tech startup before becoming attorney general. He has pleaded not guilty.

Sasser rejected the idea that his firm's lawyers had become insiders, but he declined to discuss whether they were in contact with the Trump administration, which issued guidelines last fall through the Justice Department for its philosophy on religious-freedom cases. The guidelines envisioned sweeping protections for faith-based practices in private workplaces, in government jobs and grants, and in running prisons.

Sasser and Shackelford also declined to comment on their work with Trump's transition team after the 2016 election, citing confidentiality.

About a dozen prominent Christian legal groups are scattered across the country, none bigger than the Arizona-based Alliance Defending Freedom, or ADF, which raised more than $50 million in 2016. Others include Florida-based Liberty Counsel, Washington-based Becket and the American Center for Law and Justice, which was founded by Jay Sekulow, one of Trump's personal lawyers.

First Liberty has grown faster than any other group in recent years, having doubled its revenue since 2013 while reporting taking in $11 million last year. Its recent cases include defending a Texas judge who was sued over inviting pastors to give invocations in his court. Sasser said First Liberty is different than similar firms, such as ADF, in that they represent people of all faiths.

"We love having people who care about religious freedom and the Constitution and the First Amendment in the highest positions in government they can get in. We're all in favor of that. It doesn't put us as sort of insiders," Shackelford said.

There is no denying their expanded reach. First Liberty attorney Kacsmaryk criticized a 2014 ban on LGBT discrimination by federal contractors as caving to "sexual revolution fundamentalism." The Trump administration later nominated him to the federal bench. If confirmed, legal experts say, he would be the first federal judge appointed to the bench straight from a religious legal organization.

In Texas, Paxton has hired at least six state attorneys from First Liberty or ADF. One is Austin Nimocks, who court records show emailed Republican Mississippi Gov. Phil Bryant with a "model executive order" in 2015 that laid the foundation for a bill that would have let public officials deny some services to gays and lesbians.

In Montana, First Assistant Attorney General Dale Schowengerdt arrived after years of fighting against gay marriage at the ADF.

Asked whether the Texas hires helped advance the agendas of First Liberty or other Christian legal groups, Paxton's spokesman wrote that the agency "holds a high standard of legal excellence in the hiring of our attorneys, and each of these lawyers came to the agency with commendable recommendations."

Paxton, an evangelical conservative, was elected attorney general in 2014. For his first assistant attorney general he chose fellow evangelical Jeff Mateer, who Trump also picked to fill a federal court vacancy in Texas. That nomination unraveled after videos emerged of Mateer calling transgender children evidence of "Satan's plan" in speeches he made while still at First Liberty.

Sasser, First Liberty's general counsel who also did a brief stint in Paxton's office before later returning to the firm, suggested that the attorneys' relationship with Paxton was nothing out of the ordinary.

"He's the attorney general for everybody in Texas. I guess we're like anybody else," Sasser said. "If we have any cause to have any interaction with him, we just contact him like any member of the public would."

___

Follow Paul J. Weber on Twitter: www.twitter.com/pauljweber .

___

This story has been updated to correct the spelling of Sasser's name in the final paragraph and clarifies that First Liberty represents clients of all faiths.