Protesters demanding the demolition of an illegal portion of a mosque in Shimla's Sanjauli area clashed with security personnel on Wednesday, breaking barricades and throwing stones as police used water cannons and lathi-charged them.