DHAKA, Bangladesh – Police banned all rallies in Bangladesh's capital through midnight Monday after at least 27 people died in clashes between police and Islamic hardliners demanding that the government enact an anti-blasphemy law, officials said.

The protesters blocked roads with burning tires and logs during more than five hours of clashes. They also attacked a police station and set fire to at least 30 vehicles, including police trucks, private Ekattar TV reported.

A police official, speaking on customary condition of anonymity, said 13 people, including two police and a paramilitary soldier, were killed in clashes in Kanchpur just outside Dhaka. He said seven others died in Motijheel, a commercial area of the capital.

Police in southeastern Chittagong city fired on Islamic activists who attacked them with iron rods, meat cleavers and sticks. At least seven people were killed, police official Farid Uddin said.

The private United News of Bangladesh reported that the violence in Dhaka erupted after security forces fired tear gas and rubber bullets at protesters in the central commercial district.

Dhaka Metropolitan Police said all rallies and protests had been banned in the city until midnight Monday for fear of more clashes.

The Islamic activists want the government implement an anti-blasphemy law. They say some Internet users have recently used their blogs to spread atheism and lies about Islam.

The government of the Muslim-majority nation has rejected the demand, insisting that Bangladesh is governed by secular law.