GRAPEVINE, Texas — After lengthy and wrenching debate, local leaders of the Boy Scouts of America have voted to open their ranks to openly gay boys for the first time, but heated reactions from the left and right made clear that the BSA’s controversies are far from over.

The Scouts’ longstanding ban on gay adults remains in force, and many liberal Scout leaders — as well as gay-rights groups — plan to continue pressing for an end to that exclusion even though the BSA’s top officials aren’t ready for that step.

Meanwhile, many conservatives within the Scouts are distraught at the outcome of the vote and some are threatening to defect. A meeting is planned for next month to discuss formation of a new organization for boys.

The vote was conducted by secret ballot Thursday during the National Council’s annual meeting at conference center not far from Boy Scout headquarters in suburban Dallas. Of the roughly 1,400 voting members of the council who cast ballots, 61 percent supported the proposal drafted by the governing Executive Committee. The policy change takes effect Jan. 1.

“This has been a challenging chapter in our history,” the BSA chief executive, Wayne Brock, said after the vote. “While people have differing opinions on this policy, kids are better off when they’re in Scouting.”

But the outcome will not end the membership policy debate, as was evident in the reactions of leaders of some of the conservative religious denominations that sponsor Scout units.

“We are deeply saddened,” said Frank Page, president of the Southern Baptist Convention’s executive committee. “Homosexual behavior is incompatible with the principles enshrined in the Scout oath and Scout law.”

The Assemblies of God said the policy change “will lead to a mass exodus from the Boy Scout program.” It also warned that the change would make the BSA vulnerable to lawsuits seeking to end the ban on gay adults.

John Stembeger, a conservative activist and former Scout from Florida, founded a group called OnMyHonor.net to oppose the policy change. He assailed the BSA executive committee for its role in gaining a “Yes” vote.

“What kind of a message are we sending to young people about being brave when its top adult leaders don’t even have the courage to stand up to the pressure of a militant lobby when the bullies in Washington D.C., Hollywood or even some of their own renegade councils start pressuring and harassing them?” he asked.

He said OnMyHonor.Net and other like-minded organizations and individuals would meet in Louisville, Ky., next month to discuss the creation of “a new character development organization for boys.”

Texas Gov. Rick Perry also expressed dismay.

“While I will always cherish my time as a Scout and the life lessons I learned, I am greatly disappointed with this decision,” he said.

The result was welcomed by many liberal members of the Scouting community and by gay-rights activists, though most of the praise was coupled with calls for ending the ban on gay adults.

“I’m so proud of how far we’ve come, but until there’s a place for everyone in Scouting, my work will continue,” said Jennifer Tyrrell, whose ouster as a Cub Scout den leader in Ohio because she is lesbian launched a national protest movement.

Tyrrell recalled having to tell her son she had been forced out as den mother.

“He doesn’t deserve to be told that we’re not good enough,” she said. “We’re not going to stop until this is over.”

Pascal Tessier, an openly gay 16-year-old Boy Scout from Maryland, had mixed emotions after the vote.

“I was thinking that today could be my last day as a Boy Scout,” he said. “Obviously, for gay Scouts like me, this vote is life-changing.”

Tessier is on track to receive his Eagle Scout award — he only needs to complete his final project — but said he is troubled that on his 18th birthday he could transform from someone holding Scouting’s highest rank to someone unfit to be a part of the organization.

“That one couple hours (between 17 and 18) will make me not a good person,” he said.

Tessier has been an exception — an openly gay Scout whose presence was quietly accepted by local Scout leaders. In general, the Scouts’ policy has been to avoid any questioning of would-be Scouts as to their sexual orientation, but to dismiss boys who did speak openly about being gay.

For example, Scout officials refused to grant the Eagle Scout rank to Ryan Andresen, an 18-year-old Californian, after he came out as gay last year.

The vote followed what the BSA described as “the most comprehensive listening exercise in Scouting’s history” to gauge opinions, including a survey sent out starting in February to members of the Scouting community.

Of the more than 200,000 leaders, parents and youth members who responded, 61 percent supported the current policy of excluding gays, while 34 percent opposed it. Most parents of young Scouts, as well as youth members themselves, opposed the ban.

The proposal approved Thursday was seen as a compromise, and the Scouts stressed that they would not condone sexual conduct by any Scout — gay or straight.

“The Boy Scouts of America will not sacrifice its mission, or the youth served by the movement, by allowing the organization to be consumed by a single, divisive and unresolved societal issue,” the BSA said in a statement.

Among those voting for the proposal to accept openly gay youth was Thomas Roberts, of Dawsonville, Ga., who serves on the board of a Scout council in northeast Georgia.

“It was a very hard decision for this organization,” he said. “I think ultimately it will be viewed as the right thing.”

The BSA’s overall “traditional youth membership” — Cub Scouts, Boy Scouts and Venturers — is now about 2.6 million, compared with more than 4 million in peak years of the past. It also has about 1 million adult leaders and volunteers.

Of the more than 100,000 Scouting units in the U.S., 70 percent are chartered by religious institutions.

Those include liberal churches opposed to any ban on gays, but some of the largest sponsors are relatively conservative denominations that have previously supported the broad ban — notably the Roman Catholic Church, the Church of Jesus Christ of Latter-day Saints and Southern Baptist churches.

While the Southern Baptists were clearly upset by the vote to accept openly gay youth, the Utah-based Mormon church — which has more Scouting troops than any other religious denomination — reacted positively.

“We trust that BSA will implement and administer the approved policy in an appropriate and effective manner,” an LDS statement said.

PHOTO: Boy Scouts salute early Saturday morning, May 21, 2011 during New Jersey's Boy Scouts Camporee in Sea Girt, N.J. The Boy Scouts of America's National Council has voted to ease a long-standing ban and allow openly gay boys to be accepted as Scouts, Thursday, May 23, 2013. Of the local Scout leaders voting at their annual meeting in Texas, more than 60 percent supported the proposal. (AP Photo/Mel Evans, file)