Follow CBSDFW.COM: Facebook | Twitter

AUSTIN (AP) — The Texas House has approved prohibiting government entities from compelling pastors and other religious leaders to divulge the contents of their sermons in civil legal cases.

READ MORE: 'Every Day Is An Opportunity To Change The Narrative': Plano Police Officer Helps Needy Family Escape Heat, Pays For Hotel

The chamber voted 139-2 on Saturday to pass a bill that overwhelmingly cleared the state Senate in March. A similar 2015 measure also passed the Senate, but didn’t become law.

READ MORE: 1 Person In Serious Condition Following 3-Vehicle Crash On I-30 In East Fort Worth

In 2014, the city of Houston sought to subpoena sermons and speeches by five Houston pastors who opposed a local gay rights ordinance that was eventually defeated by voters. Those subpoenas were later dropped, however, amid outcry over freedom of speech and religion.

The “sermon safeguard” bill prohibits seeking written copies or audio recordings of religious orations “in any civil proceeding to which the governmental entity is a party.”

MORE NEWS: Appeals Court Upholds Former Dallas Officer Amber Guyger's Murder Conviction

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)