Czarek Sokolowski, Associated Press
An officer escorts an ex-nun to a bus in Kazimierz Dolny, Poland, on Wednesday.

KAZIMIERZ DOLNY, Poland — Dressed in their black habits, the ex-nuns sat on the floor of the convent, defiantly strumming guitars and singing religious songs as police in riot gear pushed through the gate of the walled compound.

Hours later, after mild resistance and shouted insults at the officers there to evict them, the ex-nuns filed out in defeat, some with guitars hung over their shoulders, others carrying tambourines or drums.

"Servants of Satan!" yelled some of the women — many of whom appeared to be in their 20s.

Police evicted the 65 rebellious ex-nuns Wednesday from a convent in eastern Poland that they had occupied illegally for two years after defying a Vatican order to replace their mother superior, a charismatic leader who claimed to have religious visions.

A locksmith was brought in to open the gate of the building and dozens of police rushed in, arresting the mother superior, Jadwiga Ligocka, as well as a former Franciscan friar secluded with the nuns.

The women took over the convent in Poland — the homeland of the late Pope John Paul II — in 2005 after refusing the Vatican order to replace Mother Jadwiga.

"They were disobedient," said Mieczyslaw Puzewicz, a spokesman for the Lublin diocese of the Roman Catholic Church. The Vatican formally expelled the women from their Sisters of Bethany order last year but has revealed almost nothing about the dispute.

Lublin Archbishop Jozef Zycinski called the police operation a last resort meant to help the ex-nuns, who had closed themselves off from the outside world.

"Today's police intervention was a sort of act of desperate aid for people who for the past two years have lived in very unusual conditions, in a closed environment, in seclusion, in uncertainty, where various forms of thought take shape," the PAP news agency quoted Zycinski as saying.

"One could clearly see that tension and aggression during today's intervention."

Several hours into the operation, the women began leaving. Among them were Russian and Belarusian citizens who had been living in Poland illegally, police spokesman Mariusz Sokolowski said. They will likely be deported, he said.

Puzewicz said the ex-nuns appeared to have been "manipulated" psychologically. He did not say who he thought was influencing them but said the former Franciscan friar, Roman Komaryczko, had a "negative influence" on Mother Jadwiga.

Komaryczko was charged with disturbing the peace and prosecutors planned to bring the same charge against Mother Jadwiga, said Robert Bednarczyk, of the Lublin prosecutors' office.

During questioning, the ex-friar "didn't respond to questions in any topical, concrete or logical way or to the charges," Bednarczyk said. "He also didn't give any logical answer to his place of residence, but instead made some religious references."

Besides her claim of religious visions, Mother Jadwiga was reportedly attempting to transform the convent into a contemplative order.

The Vatican, which has authority over all convents, has traditionally been wary of people claiming visions, in part fearing others could be drawn in.

The Lublin diocese hinted at that portrait in a statement on its Web site that said: "Mother Jadwiga's private revelations, and the fact that she made it a guideline to stick by them, caused unease to the Congregation."

When the Vatican formally expelled the nuns from their order in 2006, the women refused to leave the convent and cut themselves off from the outside world.

The church eventually sought legal action to remove them, and a court in nearby Pulawy ordered their eviction. The convent's electricity was cut off earlier this year, but sympathetic local residents secretly funneled them food at night.

Associated Press writers Vanessa Gera and Ryan Lucas contributed to this report from Warsaw.