TEHRAN — Twenty-nine people, most of them women, have been arrested in connection with recent protests in Iran against the compulsory Islamic veil for women, the police in Tehran said on Friday, adding that the protesters had been “deceived” by foreign forces.

Six other activists were arrested in raids around the country on Thursday, accused of involvement in the large, anti-government protests that erupted in 80 cities, over an array of grievances, and gripped the country for more than a week in December and January. Security forces suppressed those protests and 25 people were killed, but sporadic demonstrations continue to crop up around Iran.

Hard-line officials have said that the protesters are responsible for those deaths, and the government has said that some of the dead committed suicide, a claim that has been angrily rejected by government critics.

One of the hard-liners, Ahmad Khatami, the leader of Friday prayers, said that protesters who kill are “unlawful and the verdict for that is the death penalty,” state news media reported — a hint that the government response to unrest could turn harsher.