New York: Egypt’s Muslim Brotherhood said on Friday the United States was not responsible for an anti-Islam film that sparked violent protests and also called for demonstrations to remain peaceful.

In a letter to the New York Times, the Brotherhood’s deputy leader Khairat Al Shater said Egyptians have the right to protest the offensive Internet video but that the storming of the US embassy in Cairo was “illegal”.

“Despite our resentment of the continued appearance of productions like the anti-Muslim film that led to the current violence, we do not hold the American government or its citizens responsible for acts of the few that abuse the laws protecting freedom of expression,” he wrote in the letter.

“In a new democratic Egypt, Egyptians earned the right to voice their anger over such issues, and they expect their government to uphold and protect their right to do so. However, they should do so peacefully and within the bounds of the law.

“The breach of the United States Embassy premises by Egyptian protesters is illegal under international law. The failure of the protecting police force has to be investigated.”

On Tuesday an angry mob demonstrated against the film and a small group scaled the embassy walls and tore down a US flag, replacing it with a black Islamist one.

Al Shater expressed “condolences to the American people” over the killing of US ambassador Chris Stevens and three other Americans in an assault on the US consulate in the Libyan city of Benghazi during similar protests.