gay_marriageRALEIGH—A bill that would allow magistrates to opt-out of performing same-sex marriages now heads to Gov. Pat McCrory’s desk.

The NC House gave final approval to the measure Thursday morning.

This comes after a federal court ruling reversed North Carolina law which banned same-sex marriage. Under the proposal, a magistrate would have to cite a sincere religious objection, and then be banned from performing any marriages.

Opponents say the measure essentially creates discrimination, but supporters say government workers should not have to be fired for their religious beliefs.