The Catholic Church in Texas will work to promote more foster parenting, following the state legislature's approval of strong legal protections for religious adoption and foster care agencies.

"Now Catholics can join other people of good will and serve Texas' children in good faith," said Jennifer Carr Allmon, executive director of the Texas Catholic Conference of Bishops.

This fall, the bishops' conference has said, it will work with diocesan offices on a campaign to encourage Catholic families to be foster parents.

"Most Catholic Charities in the state had withdrawn from serving foster children," the bishops' conference said May 22. "The new law removes a significant barrier to Catholics serving children in the foster care system and will trigger greater recruitment efforts by Catholic parishes and ministries."

The bill, called the Freedom to Serve Children Act, could protect the ability of organizations and individuals in Texas' foster care system who have sincerely held religious beliefs to remove themselves from actions that would directly violate their faith.

It has multiple applications. It could allow groups opposed to abortion to avoid helping a minor obtain an abortion. It could allow groups that believe children should be placed only with a married adoptive mother and father to provide foster services without facing lawsuits from same-sex couples.

The bill passed the Texas Senate May 22 on a 21-10 vote. Democratic Sen. Eddie Lucio of Brownsville joined Republicans to support the bill, saying it would help add more private adoption agencies to Texas' system: "It's about increasing capacity, it's about providing homes for kids."

The bill now heads to Republican Gov. Greg Abbott, who is expected to sign the bill.

The Texas House of Representatives had passed the bill by a 93-49 vote on May 10, largely along party lines.

Private foster care and adoption agencies receive about 25 percent of child placement funding in the state, the Associated Press reports. Some groups had suspended services for fear of discrimination lawsuits.

In other states and the District of Columbia, long-serving Catholic adoption agencies have been shut down by laws against sexual orientation discrimination or new state funding rules that would have required them to place children with same-sex couples.

A Texas Department of Family and Protective Services report indicates that 314 children slept in state offices, hotels, shelters and other temporary housing between Sept. 1 and March 31, the Austin American-Statesman reports.

The bill drew opposition from the American Civil Liberties Union and LGBT activist groups like the Human Rights Campaign.

Marty Rouse, national field director for the Human Rights Campaign, charged that the bill would "prioritize discrimination over the best interest of kids in the child welfare system."

Critics voiced concern the bill would allow foster parents to prevent children from being vaccinated. Some critics objected to protecting foster parents' abilities to limit children's access to contraceptives and abortion.