NUEVA JERUSALEN, Mexico – Sprouting out of the cornfields of western Mexico rises a hill crowned with two arches and four towers, marking the gates of an improvised “holy land” that farmers built brick by brick over nearly 40 years. The sprawling complex, they believed, would be the only place saved in the coming apocalypse: Nueva Jerusalen, or “New Jerusalem.”

A cult has since sprung up around the detailed instructions that Our Lady of the Rosary supposedly left for followers, including how believers should dress and live. No non-religious music, no alcohol or tobacco, no TV or radio, no modern dress and no public education.

That last rule is at the heart of a confrontation brewing at the complex among the sect’s traditionalists, its more reformist members and the Mexican government. The conflict escalated into a tense standoff this week between the sect and federal and state police.

According to traditionalists, the government-mandated uniforms, school books and lesson plans, not to mention the computers and televisions now used in many Mexican classrooms, would violate the Virgin Mary’s orders, on her own sacred ground.

Organized squadrons of church followers enforced those beliefs in July when they used sledgehammers and pickaxes to raze at least two school buildings, doused the school furniture and texts in gasoline and set the whole mess on fire.

Authorities in the western state of Michoacan have vowed that public, secular education would not be sacrificed, and they pledged Monday that about 250 children would be back in class in Nueva Jerusalen.

Conservative church followers formed a line inside the gates to face down dozens of police who showed up with patrol trucks and an armored vehicle, in what turned out to be a daylong standoff.

To forge a compromise, federal police commander Miguel Guerrero said he was talking with both sect traditionalists and reformists who believe in the sect’s central tenets but want a modern education for their children.

“We are simply discussing the community’s situation,” he said. But neither side was budging: The reformists rejected a compromise to hold classes in another town, and the traditionalists weren’t going to let government schools and teachers into the community.

Michoacan Gov. Fausto Vallejo Figueroa pledged Tuesday that those who burned the schools would be punished, raising the possibility of further confrontation, even though officials have declined to provide details of specific plans for action in coming days.

“The law must be applied and those who participated in the destruction of public property like schools must face the consequences,” he said.

The faith of the people here is built on messages purportedly passed from the Virgin Mary to a defrocked Catholic priest, an illiterate old woman and a clairvoyant.

“New Jerusalem was born when the Holy Mother returned to Earth, with God’s permission, for the last time, to form a new salvation and a new creed,” said the Rev. Luis Maria, who, like the rest of the clergy, practices a form of the Latin Mass but is not recognized in any way by the Roman Catholic Church.

Maria says the community’s rules are aimed at banishing “all the vices and bad habits” that condemn the rest of the world to perdition.

But after the group’s prediction that the world would end in 1999 didn’t come to pass, it became harder to keep younger generations interested in praying almost constantly for the Earth’s salvation. Praying is the principal activity of the sect’s traditionalists, aside from temple building and farming.

To the reformists, the Virgin’s purported instructions can border on the surreal: Sports such as soccer are banned because they are played with a ground ball that resembles the planet Earth, and thus represent kicking the planet. But American football is allowed because the ball is more elongated.

To people such as Oscar Montero, 26, who was born in Nueva Jerusalen after his parents joined the sect in the 1970s, the restrictions have grown chafing.

“I see these things as something very absurd,” said Montero, who joined a group of hundreds of young people who marched through the community Monday to demand access to education.

“Dancing isn’t evil, though smoking is,” he said. “Drinking too much is bad, but dancing and having a good time isn’t.”

The church’s authorities allowed The Associated Press to tour the compound on the condition that none of the residents could give formal interviews or be quoted by name. They said the restrictions were necessary because news media had identified believers as “fanatics” in previous reports.

The sect’s strict rules are spelled out on the wall of the gates: “No entry for women with short skirts, pants, low-cut or sleeveless blouses, makeup or fingernail polish, or uncovered heads, nor men with long hair or dishonest dress.”

The sect was founded in 1973 by a parish priest, Nabor Cardenas, who disagreed with the modernization of the Catholic Church and the abandoning of the Latin Mass.

He found his oracle in an illiterate 63-year-old local farm woman, Gabina Sanchez, who heard the voice of the Virgin Mary. “Mama Salome” essentially directed the evolution of Nueva Jerusalen together with “Papa Nabor.”

Together, they created an idiosyncratic vision of how life would have been lived in biblical times, and imposed it on thousands of followers.

“It is like a little state within a state,” said Juan Carlos Ruiz Guadalajara, a historian at San Luis College who has studied the community extensively. “Here, the laws of Mexico don’t mean anything, they are ruled by a sort of traditionalist Catholicism.”

“But that has set up a confrontation between them … and the new generation of children born in New Jerusalem,” he said.