The following commentary originally appeared in Fox News Politics on FoxNews.com, the website of the Fox News Channel:

North Carolina Republican lawmakers and Democratic Gov. Roy Cooper said late Wednesday that they have agreed on legislation to resolve a standoff over the state’s “bathroom bill” through a replacement measure that still restricts LGBT nondiscrimination protections.

GOP leaders announced the new legislation would be debated and voted on Thursday—at about 9:15 a.m. ET– but it was unclear whether there were enough House and Senate votes to pass it.

Cooper, who ran successfully last fall on a platform that included repealing House Bill 2, said in a release that he supported the compromise.

“It’s not a perfect deal, but it repeals House Bill 2 and begins to repair our reputation,” he said.

Read More:  http://www.foxnews.com/