CAIRO, Dec 7 (Reuters) - Egyptian protesters broke through a barbed wire barricade keeping them from the presidential palace in Cairo on Friday and some climbed onto army tanks and waved flags.

Up to 10,000 protesters had been penned behind the barrier, guarded by tanks that were deployed on Thursday after a night of violence between supporters and opponents of the Islamist president, Mohamed Mursi, in which seven people were killed.

Demonstrators cut the barbed wire and hundreds swarmed through and surged up to the walls of the palace, some kissing the police and military guards surrounding it. "Peaceful, peaceful," they chanted.

Troops of the Republican Guard, which had ordered rival demonstrators to leave the vicinity on Thursday, moved to the front gate to secure the main entrance to the palace.

Also on HuffPost:

Loading Slideshow...
  • Egyptian army soldiers set up barbed wire barricades and deploy tanks outside of the Egyptian presidential palace in Cairo on December 6, 2012, after a night of clashes between supporters and opponents of Islamist President Mohamed Morsi. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • Egyptian protesters chant anti Muslim Brotherhood slogans outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. (AP Photo/Hassan Ammar)

  • An Egyptian man shouts slogans during a march towards the presidential palace in Cairo on December 4, 2012, protesting President Mohamed Morsi's decree widening his powers. (Gianluigi Guercia/Getty Images)

  • Egyptian President Mohammed Morsi’s supporters try to detain an opposition protester during clashes outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. (AP Photo/Hassan Ammar)

  • An Egyptian protesters flashes the victory sign as he holds a poster in Arabic that reads, "leave," outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. (AP Photo/Hassan Ammar)

  • Muslim Brotherhood members and supporters of Egyptian President Mohammed Morsi arrive outside the Egyptian presidential palace on December 5, 2012 in Cairo, Egypt. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • Supporters of Egyptian President Mohammed Morsi clash with anti-Morsi protesters outside the Egyptian presidential palace on December 5, 2012 in Cairo, Egypt. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • Muslim Brotherhood members and supporters of Egyptian President Mohammed Morsi arrive outside the Egyptian presidential palace on December 5, 2012 in Cairo, Egypt. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • Supporters of Egyptian President Mohammed Morsi clash with anti-Morsi protesters outside the Egyptian presidential palace on December 5, 2012 in Cairo, Egypt. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • A supporter of Egyptian President Mohammed Morsi, pictured at right, chants slogans during a demonstration outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. (AP Photo/Hassan Ammar)

  • An Egyptian protester holds a poster with Arabic that reads, "leave," during a demonstration outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. (AP Photo/Hassan Ammar)

  • Opponents of President Mohammed Morsi chant slogans outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. (AP Photo/Hassan Ammar)

  • Supporters of Egyptian President Mohammed Morsi chant slogans during a demonstration outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. Supporters of Morsi and opponents clashed outside the presidential palace. (AP Photo/Hassan Ammar)

  • Fireworks burst over Tahrir Square as protesters gather in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Maya Alleruzzo)

  • Egyptian protesters chant anti Muslim Brotherhood slogans during a demonstration in front of the presidential palace in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • Egyptian protesters chant anti Muslim Brotherhood slogans during a demonstration in front of the main gate of the presidential palace, background, in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • Egyptian protesters carry national flags and chant anti Muslim Brotherhood slogans during a demonstration in front of the presidential palace in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • Egyptian protesters chant anti Muslim Brotherhood slogans during a demonstration in front of the presidential palace, seen in the background, in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • An Egyptian protester holds placard in Arabic that reads, "yes for the rights of martyrs," during a demonstration in front of the presidential palace in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • Egyptian protesters chant anti-Muslim Brotherhood slogans during a rally in front of the presidential palace, in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • Egyptian riot police stand guard behind barbed wire while protesters chant anti Muslim Brotherhood slogans during a demonstration in front of the presidential palace, in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • Protesters chant slogans and wave national flags in Tahrir Square in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Maya Alleruzzo)

  • An Egyptian protester takes a photo with her mobile phone as she chants slogans in Tahrir Square in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Maya Alleruzzo)

  • Protesters chant slogans and wave national flags in Tahrir Square in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Maya Alleruzzo)

  • An Egyptian walks past a stand displaying state-owned newspapers in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nariman El-Mofty)

  • A boy watches as an Egyptian security lay out barbed wire along streets leading to the Itihadiya presidential palace in the neighbourhood of Heliopolis in Cairo, on December 4, 2012. (AFP/Getty Images)

  • Protesters chant slogans and wave Egyptian national flags in Tahrir Square in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Maya Alleruzzo)

  • Egyptian security lay out barbed wire along streets leading to the Itihadiya presidential palace in the neighbourhood of Heliopolis in Cairo, on December 4, 2012. (AFP/Getty Images)

  • Egyptian protesters chant anti-Muslim Brotherhood slogans during a rally in front of the presidential palace, in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Nasser Nasser)

  • Egyptian Constitutional Assembly secretary general Amr Darrag holds a copy of the new Egyptian constitution draft on December 4, 2012 during a apress conference at the Shura Council in Cairo, Egypt. (GIANLUIGI GUERCIA/AFP/Getty Images)

  • Protesters pass a banner with Arabic that reads, "Ahmed Gomaa severely wounded in the brain and is lying in intensive care," referring to the injuries sustained by Gomaa, a photographer working for the Associated Press, who was severely beaten on Nov. 27 by Egyptian security forces while covering clashes in Tahrir Square, in Cairo, Egypt, Tuesday, Dec. 4, 2012. (AP Photo/Maya Alleruzzo)

  • Egyptian President Mohammed Morsi’s supporters, background, clash with opponents, foreground, outside the presidential palace, in Cairo, Egypt, Wednesday, Dec. 5, 2012. (AP Photo/Hassan Ammar)