Now playing
00:43
Indiana governor signs newly revised law
Ellen Page, star of the movie, "Juno" questions Ted Cruz on his LGBT views at the Iowa state fair is Des Moines. August 21, 2015
Ellen Page, star of the movie, "Juno" questions Ted Cruz on his LGBT views at the Iowa state fair is Des Moines. August 21, 2015
PHOTO: KCCI
Now playing
01:42
Actress Ellen Page debates Ted Cruz on LGBT rights
dnt baker refuses anti-gay order_00001124.jpg
dnt baker refuses anti-gay order_00001124.jpg
PHOTO: WKMG
Now playing
01:30
Baker refuses anti-gay order, gets 'nasty' gestures
ac pkg tuchman georgia florists religious freedom bill_00000527.jpg
ac pkg tuchman georgia florists religious freedom bill_00000527.jpg
Now playing
02:51
Why one Georgia florist won't serve gay couples
special sot georgia state senator mckoon religious freedom bill_00041014.jpg
special sot georgia state senator mckoon religious freedom bill_00041014.jpg
Now playing
04:40
Ga. state senator fights for religious right law
PHOTO: WBND-LP
Now playing
02:20
Memories Pizza receives over $700K in donations
US President Barack Obama stands alongside Pope Francis during an arrival ceremony on the South Lawn of the White House in Washington, DC, September 23, 2015. More than 15,000 people packed the South Lawn for a full ceremonial welcome on Pope Francis
US President Barack Obama stands alongside Pope Francis during an arrival ceremony on the South Lawn of the White House in Washington, DC, September 23, 2015. More than 15,000 people packed the South Lawn for a full ceremonial welcome on Pope Francis' historic maiden visit to the United States. AFP PHOTO / MANDEL NGAN (Photo credit should read MANDEL NGAN/AFP/Getty Images)
PHOTO: MANDEL NGAN/AFP/Getty Images
Now playing
01:43
Pope Francis speaks about religious liberty
donald trump iowa faith freedom bts nr_00004423.jpg
donald trump iowa faith freedom bts nr_00004423.jpg
Now playing
02:15
Donald Trump vows to fight for religious liberty
Republican presidential candidate and Texas senator Ted Cruz speaks during the Iowa Faith and Freedom Coalition annual banquet and presidential forum  Monday June 22, 2015 in Des Moines, Iowa.
(Taylor Glascock for CNN)
Republican presidential candidate and Texas senator Ted Cruz speaks during the Iowa Faith and Freedom Coalition annual banquet and presidential forum Monday June 22, 2015 in Des Moines, Iowa. (Taylor Glascock for CNN)
PHOTO: Taylor Glascock for CNN
Now playing
01:18
Ted Cruz discusses religious liberty
Former Arkansas Gov. Mike Huckabee speaks during the third day of the Republican National Convention at the Tampa Bay Times Forum on August 29, 2012 in Tampa, Florida.
Former Arkansas Gov. Mike Huckabee speaks during the third day of the Republican National Convention at the Tampa Bay Times Forum on August 29, 2012 in Tampa, Florida.
PHOTO: Win McNamee/Getty Image
Now playing
02:03
Huckabee: Left won't rest until 'no more churches'
pkg memories pizza religious freedom law_00004113.jpg
pkg memories pizza religious freedom law_00004113.jpg
PHOTO: WBND-LP
Now playing
02:16
Restaurant owner won't serve same-sex weddings
A still photo of the Georgia state capitol in Atlanta.
A still photo of the Georgia state capitol in Atlanta.
PHOTO: Rich Brooks/CNN/File
Now playing
02:50
Georgia Senate passes religious freedom bill
PHOTO: GETTY IMAGES/FILE
Now playing
07:07
NBA legend on Indiana law: They came after gay people
tsr tom cotton arkansas religious freedom act reaction_00004429.jpg
tsr tom cotton arkansas religious freedom act reaction_00004429.jpg
Now playing
02:00
Senator: Iran will hang you for ...
Former US Congressman Asa Hutchinson announces the findings and recommendations of the National School Shield Program at the National Press Club in Washington, DC, April 2, 2013. The NRA-backed National School Shield program on Tuesday unveiled recommendations to protect schools from instances of violence, including a model program to train and enable school personnel to carry firearms. Hutchinson was tasked by the National Rifle Association following the December shooting at an elementary school in Newtown, Connecticut to develop the recommendations to bolster school security. AFP PHOTO/Jim WATSON        (Photo credit should read JIM WATSON/AFP/Getty Images)
Former US Congressman Asa Hutchinson announces the findings and recommendations of the National School Shield Program at the National Press Club in Washington, DC, April 2, 2013. The NRA-backed National School Shield program on Tuesday unveiled recommendations to protect schools from instances of violence, including a model program to train and enable school personnel to carry firearms. Hutchinson was tasked by the National Rifle Association following the December shooting at an elementary school in Newtown, Connecticut to develop the recommendations to bolster school security. AFP PHOTO/Jim WATSON (Photo credit should read JIM WATSON/AFP/Getty Images)
PHOTO: JIM WATSON/AFP/Getty Images
Now playing
01:17
Did Indiana influence the Arkansas outcome?
ar gov hutchinson religious freedom bill _00000000.jpg
ar gov hutchinson religious freedom bill _00000000.jpg
Now playing
02:28
Arkansas governor: Bill needs changes before I sign it
PHOTO: WXIN
Now playing
03:24
How Indiana will 'fix' controversial law
ctn sot indiana religious freedom law_00001410.jpg
ctn sot indiana religious freedom law_00001410.jpg
Now playing
04:31
Penn Jillette: No one's forcing you to have gay sex
Now playing
06:33
Lawmaker defends controversial religious freedom bill
cnn tonight don lemon indiana law opening statement _00001412.jpg
cnn tonight don lemon indiana law opening statement _00001412.jpg
Now playing
01:05
Don Lemon speaks out against Indiana law
nr sot indiana religious freedom law constitutional toobin_00005230.jpg
nr sot indiana religious freedom law constitutional toobin_00005230.jpg
Now playing
01:07
Is Indiana's 'religious freedom' law constitutional?
cnn tonight lori windham sally kohn indiana law normalizing bigotry _00004316.jpg
cnn tonight lori windham sally kohn indiana law normalizing bigotry _00004316.jpg
Now playing
01:51
Kohn: Indiana Law is about 'normalizing bigotry'
erin live hester arkansas religious freedom bill_00003723.jpg
erin live hester arkansas religious freedom bill_00003723.jpg
Now playing
04:35
State senator: This law is about freedom of speech
bts legislators speak indiana religious freedom law_00003314.jpg
bts legislators speak indiana religious freedom law_00003314.jpg
PHOTO: WTHR
Now playing
01:22
Lawmaker: 'Not the intent of the law to discriminate'
Now playing
02:05
Furious backlash over controversial law
pkg religious freedom bill nuts and bolts_00003519.jpg
pkg religious freedom bill nuts and bolts_00003519.jpg
PHOTO: WXIN
Now playing
02:10
Bill allows businesses to reject gay customers
(CNN) —  

Indiana’s social conservatives wanted a law that insulated them from the gay rights movement. Instead, the state has now enacted protections based on sexual orientation for the first time in its history.

Top Indiana Republican lawmakers overhauled their week-old religious freedom law Thursday with a follow-up measure intended to ease concerns driven by businesses that it could lead to discrimination. Gov. Mike Pence then signed it into law.

The changes appear to have tamped down some of the criticism – but in doing so Pence and lawmakers infuriated social conservative activists and set the stage for a bigger fight next year over expanding Indiana’s anti-discrimination law to cover gays and lesbians.

Republican legislative leaders unveiled their series of changes Thursday morning to the law that triggered intense backlash from businesses, sports associations, pro-LGBT groups and even fiscally-focused conservatives when Pence signed it last week.

The GOP-dominated House and Senate approved a legislative fix, which was added into an unrelated bill, on Thursday, sending it to Pence’s desk almost immediately.

Despite last-minute lobbying from conservative groups like Indiana Right to Life to get Pence to veto the fix, the governor signed it Thursday evening.

“In the midst of this furious debate, I have prayed earnestly for wisdom and compassion, and I have felt the prayers of people across this state and across this nation. For that I will be forever grateful,” Pence said in a statement.

“There will be some who think this legislation goes too far and some who think it does not go far enough, but as governor I must always put the interest of our state first and ask myself every day, ‘What is best for Indiana?’” he said. “I believe resolving this controversy and making clear that every person feels welcome and respected in our state is best for Indiana.”

The changes prohibit businesses from using the law as a defense in court for refusing “to offer or provide services, facilities, use of public accommodations, goods, employment, or housing” to any customers based on “race, color, religion, ancestry, age, national origin, disability, sex, sexual orientation, gender identity, or United States military service.”

It doesn’t accomplish what the law’s critics wanted most: Adding sexual orientation to the list of categories protected by Indiana’s anti-discrimination law.

But that debate, GOP legislators acknowledged, is coming soon. House Speaker Brian Bosma said the backlash against the religious freedom law has “opened many perspectives” and that the anti-discrimination law “needs to be discussed.”

Indiana’s rapid rush to change its controversial law comes as Republican governors in states like North Carolina and Georgia back away from similar proposals in their states.

Arkansas Gov. Asa Hutchinson, who just days ago said he was rejecting the first version of a religious freedom bill that landed on his desk, got the changes he wanted, signing into law Thursday afternoon a religious freedom measure that lawmakers there had revamped this week so that it’s identical to the federal law.

The religious freedom debate has touched a particularly raw nerve in Indiana, where a GOP push to amend the state constitution to prohibit same-sex marriage and civil unions was defeated last year – exposing tensions within Republican caucuses that already have more than two-thirds super majorities in both the Indiana House and Senate.

Several Indiana cities already have anti-discrimination laws that include sexual orientation, but the legislative fix to the religious freedom law will be the first time protections based on sexual orientation or gender identity are recognized statewide.

RELATED: Is the GOP losing Walmart?

Social conservatives lambasted lawmakers for walking away from what they saw as a crucial protection for Christian businesses that did not want to provide services to gays and lesbians – particularly for same-sex weddings.

Eric Miller, the head of Advance America and a powerful lobbyist who stood behind Pence at last week’s private bill signing ceremony, said on his website: “Among the things that will happen, Christian bakers, florists and photographers would now be forced by the government to participate in a homosexual wedding or else they would be punished by the government! That’s not right!”

Nationally, social conservatives expressed similar objections. Russell Moore, the president of the Southern Baptist Convention’s Ethics and Religious Liberty Commission, tweeted: “This Indiana “compromise” is a train wreck. It should be voted down.”

Still, lawmakers said they had to do something.

“What was intended as a message of inclusion was interpreted as a message of exclusion, especially for the LGBT community,” Bosma said Thursday morning. “Nothing could have been further from the truth, but it was clear the perception had to be addressed.”

The Indiana law and a similar bill that Arkansas Gov. Asa Hutchinson has asked lawmakers there to change had drawn criticism from major companies like Apple, Walmart and Salesforce, as well as sports associations like the NCAA, NBA and NFL.

Katie Blair, the head of Freedom Indiana, a group that lobbies against anti-LGBT measures and is funded by several of Indiana’s largest businesses, said the changes announced Thursday “represent a step in the right direction.”

“Today, the harm has been lessened, but we have not reached the day when LGBT Hoosiers can be assured that they can live their lives with freedom from discrimination,” Blair said.

Even as they moved to fix the law they’d passed, though, Indiana Republicans maintained that nothing had really been wrong with it in the first place.

“It was misinterpreted,” Bosma said. “But all we can say is we are sorry that misinterpretation hurt so many people.”

RELATED: Bush: Indiana law could have used ‘more consensus-oriented approach’