Indiana Gov. Mike Pence on Thursday signed into law a religious objections bill that some residents and businesses have opposed amid concern it could allow discrimination against gay people.

The measure would prohibit state and local laws that "substantially burden" the ability of people — including businesses and associations — to follow their religious beliefs.

Pence, a Republican, backed the bill as it moved through the legislature and spoke at a rally last month that drew hundreds of supporters. He signed the bill in a private ceremony.

He said in a statement Thursday that the bill ensures "religious liberty is fully protected under Indiana law."

"The Constitution of the United States and the Indiana Constitution both provide strong recognition of the freedom of religion, but today, many people of faith feel their religious liberty is under attack by government action," he said.

Reaction to the decision was swift and divided.

Indiana Right to Life President and CEO Mike Fichter praised the new law, saying it would give abortion opponents legal recourse if they are pressured to support the procedure. The organization circulated an online petition to thank Pence for signing the bill.

Freedom Indiana, which led last year's successful fight against efforts to add a gay marriage ban to the state constitution, called it "a sad day for Indiana," saying Pence and lawmakers ignored concerns of thousands of Indiana residents.

"We made it clear that this law will only be used to harm other Hoosiers, and that's not the Indiana way. The lawmakers didn't listen. The governor didn't listen," the group said in a statement.

At least two groups — the Christian Church (Disciples of Christ) and Gen Con — have said they would reconsider plans to hold their conventions in Indianapolis because of the legislation. The CEO of California technology company Salesforce told The Indianapolis Business Journal his company would reduce its investment in the state because of the law.

Supporters say that discrimination concerns are overblown and that the measure merely seeks to prevent the government from compelling people to provide such things as catering or photography for same-sex weddings or other activities they find objectionable on religious grounds. They note that the law is modeled on a federal religious freedom law that Congress passed in 1993 and that similar laws are on the books in 19 other states.

"This bill is not about discrimination, and if I thought it legalized discrimination in any way in Indiana, I would have vetoed it," Pence said. "For more than 20 years, the federal Religious Freedom Restoration Act has never undermined our nation's anti-discrimination laws, and it will not in Indiana."

However, the current political climate is far different from when most of those were approved, with the U.S. Supreme Court expected to rule this year on whether gay marriage bans violate the Constitution.

The Indianapolis Chamber of Commerce and Indiana-based engine maker Cummins Inc. are among business groups that have opposed the bill on the grounds that it could make it more difficult to attract top companies and employees.

Similar bills have been have been introduced recently in a dozen other states, advancing this year in the Arkansas and Georgia legislatures. Last year Mississippi enacted a religious objection law just weeks after Arizona Gov. Jan Brewer, a Republican, vetoed a similar effort there amid criticism from major corporations.

The Associated Press