SALT LAKE CITY — The Mormon Church, the biggest sponsor of Boy Scout troops in the United States, announced Thursday it is pulling as many as 185,000 older youths from the organization as part of an effort to start its own scouting-like program.

The Church of Jesus Christ of Latter-day Saints said the move wasn’t triggered by the Boy Scouts’ decision in 2015 to allow gay troop leaders, since Mormon-sponsored troops are free to exclude such adults on religious grounds.

But at least one leading Mormon scholar said that the Boy Scouts and the church have been diverging on values in recent years and that the policy on gays was probably a contributing factor in the split.

Saying it wants a new, simplified program of its own that is more closely tailored to Mormon teenagers, the church announced that boys ages 14 to 18 will no longer participate in the Boy Scouts starting next year. The church said the decision will affect 185,000 teens; the Boy Scouts put the number at 130,000.

The loss is only a fraction of the 2.3 million youths in the Boy Scouts of America, but it has been grappling with declining membership and has enjoyed a close bond with the Mormon Church for more than a century.