U.S. religious entities would be allowed to engage in political activity without the risk of losing their tax-exempt status under a Republican proposal to overhaul the tax code unveiled on Thursday, a move that could give influential community leaders more latitude to try to influence voters.

The plan would eliminate a provision in the tax code known as the "Johnson Amendment," which prohibits churches from using church resources to encourage voting for or against a candidate. A religious leader can currently endorse a candidate in their personal capacity, but they cannot do so within the confines of their church, mosque or synagogue or use their staff to help a candidate.

Supporters say it will increase religious liberty. Opponents say it will allow political leaders to pressure churches and allow some churches to be turned into political operations.