OTTAWA - The federal government has closed its embassy in Cairo for the day and is warning Canadians in Egypt to "exercise a high degree of caution."

Ottawa is citing demonstrations across Egypt and what it calls an "unpredictable security situation."

Egyptian President Mohamed Morsi has declared a 30-day state of emergency and night curfew in three provinces hit hardest by the wave of violence that has left more than 50 dead since Friday.

Riots are being attributed mainly to politicized Egyptian soccer fans, known as Ultras, who have been battling with police.

Those same soccer fans helped fuel protests against the military leadership that ruled Egypt between the fall of former strongman president Hosni Mubarak and the election last June of Morsi — the country's first freely elected leader.

Related on HuffPost:

Loading Slideshow...
  • In this Monday, Jan. 28, 2013 photo, Egyptian protesters celebrate the capture of a state security armored vehicle that demonstrators commandeered during clashes with security forces and brought to nearby Tahrir Square in Cairo, Egypt. On Tuesday, Jan. 29, 2013. Egypt's army chief warns of "the collapse of the state" if political crisis continues. (AP Photo/Mohsen Bayoumy)

  • In this Monday, Jan. 28, 2013 photo, an Egyptian protester takes a break while others use green laser pointers during clashes between protesters and Egyptian security forces in Downtown Cairo, Egypt. (AP Photo/Virginie Nguyen Hoang)

  • Egyptian protesters celebrate the capture of a state security armored vehicle that demonstrators commandeered during clashes with security forces and brought to Tahrir Square in Cairo, Egypt, Tuesday, Jan. 29, 2013. (AP Photo/Amr Nabil)

  • An Egyptian protester displays used ordinance as others, not pictured, celebrate the capture of a state security armored vehicle that demonstrators commandeered during clashes with security forces and brought to Tahrir Square in Cairo, Egypt, Tuesday, Jan. 29, 2013. (AP Photo/Amr Nabil)

  • In this Monday, Jan. 28, 2013 photo, Egyptian protesters use camera phones to capture a burning state security armored vehicle that demonstrators commandeered during clashes with security forces nearby and brought to Tahrir Square and set it alight, in Cairo, Egypt. (AP Photo/Mostafa El Shemy)

  • An Egyptian boy shows birdshot wounds on his body according to him, in Tahrir Square, Cairo, Egypt, Tuesday, Jan. 29, 2013. (AP Photo/Amr Nabil)

  • Protesters wave an Egyptian national flag as they celebrate the capture of a state security armored vehicle that demonstrators commandeered during clashes with security forces and brought to Tahrir Square in Cairo, Egypt, Tuesday, Jan. 29, 2013. (AP Photo/Amr Nabil)

  • Egyptian boys cover their mouths during clashes with security forces, not pictured, near Tahrir Square in Cairo, Egypt, Tuesday, Jan. 29, 2013. (AP Photo/Amr Nabil)

  • In this Monday, Jan. 28, 2013 photo, Egyptian protesters use camera phones to capture a burning state security armored vehicle that demonstrators commandeered during clashes with security forces nearby and brought to Tahrir Square and set it alight, in Cairo, Egypt. (AP Photo/Mostafa El Shemy)

  • A masked Egyptian protester flashes the victory sign during clashes with riot police, background, near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters run for cover during clashes with riot police near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Khalil Hamra)

  • An Egyptian protester covers his face during clashes with riot police, not seen, near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Khalil Hamra)

  • A protester hold the Egyptian national flag during clashes with riot police near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Khalil Hamra)

  • Former Egyptian presidential candidate, Hamdeen Sabahi, left, speaks during a press conference following the meeting of the National Salvation Front as former director of the U.N.'s nuclear agency and Nobel peace laureate, Mohamed El Baradei, center, and former Egyptian Foreign Minister and presidential candidate, Amr Moussa, right, listen in Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Amr Nabil)

  • Egyptians attend the funeral of several Sunday victims of ongoing violence in Port Said, Egypt, Monday, Jan. 28, 2013. (AP Photo)

  • Egyptian protesters clash with riot police, unseen, near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Khalil Hamra)

  • A protester hold the Egyptian national flag during clashes with riot police near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters clash with riot police near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. Health and security officials say a protester has been killed in clashes between rock-throwing demonstrators and police near Tahrir Square in central Cairo. (AP Photo/Khalil Hamra)

  • An Egyptian protester covers his face with a plastic bag during clashes with riot police, not seen, near Tahrir Square, Cairo, Egypt, Monday, Jan. 28, 2013. (AP Photo/Khalil Hamra)

  • In this Sunday, Jan. 27, 2013 photo, a protester prepares to throw a rock while surrounded by tear gas and smoke during clashes with security forces near Tahrir Square in Cairo, Egypt. (AP/Virginie Nguyen Hoang

  • An Egyptian boy throws stones during clashes between protesters and riot police near Tahrir Square, Cairo, Egypt, Sunday, Jan. 27, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters clash with riot police, not seen, near Tahrir Square, Cairo, Egypt, Sunday, Jan. 27, 2013. (AP Photo/Khalil Hamra)

  • An Egyptian protester makes the sign of the victory during protests near Cairo's Tahrir Square on January 27, 2013. (MOHAMMED ABED/AFP/Getty Images)

  • Egyptian protesters throw stones at riot police, not seen, during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • An Egyptian protester shouts anti--President Mohammed Morsi slogans in front of the presidential palace in Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Amr Nabil)

  • A woman carries a sign with a photo of Egyptian President Mohammed Morsi and Arabic that reads, "jinx, terrorist killer, embarrassment to Islam. hypocritical liar," during a march near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Nariman El-Mofty)

  • Egyptian protesters hang a giant banner in the colors of Egypt's national flag on barbed wires in front of anti-riot soldiers at the entrance to the presidential palace in Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Amr Nabil)

  • Egyptian presidential guards soldiers sit on their armored vehicle in front of the presidential palace in Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Amr Nabil)

  • A protester wears a Guy Fawkes mask as he displays a derogatory poster showing President Mohammed Morsi in front of Egyptian anti-riot soldiers at the entrance to the presidential palace in Cairo, Egypt, Friday, Jan.25, 2013. (AP Photo/Amr Nabil)

  • Egyptian protesters hang a giant banner in the colors of Egypt's national flag on barbed wires in front of anti-riot soldiers at the entrance to the presidential palace in Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Amr Nabil)

  • Egyptian protesters throw stones at riot police, not seen, and use scrap metal to deflect stones being returned by security forces during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • An Egyptian protester shouts ant-President Morsi slogans as anti-riot forces block the entrance to the presidential palace in Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Amr Nabil)

  • Anti-government protesters demonstrate during a march near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Nariman El-Mofty)

  • Egyptian protesters evacuate an injured man during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters throw stones at riot police, not seen, and use scrap metal to deflect stones being returned by security forces during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters evacuate an injured man during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters throw stones at riot police, not seen, during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters throw stones at riot police, not seen, during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian riot police are seen through a crack in a security barrier throwing stones at protesters during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • An Egyptian riot police officer wearing a gas mask looks through a crack in a security barrier during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • An Egyptian man takes cover during clashes with security forces near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Skirmishes break out between protesters and security forces, unseen, near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters run for cover from tear gas fired by security forces during clashes near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian protesters gather as skirmishes break out between demonstrators and security forces, unseen, near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Thomas Hartwell)

  • Skirmishes break out between protesters and security forces, unseen, near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • An Egyptian displays the national flag as skirmishes break out between protesters and security forces, unseen, near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Skirmishes break out between protesters and security forces, unseen, near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Skirmishes break out between protesters and security forces, unseen, near Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Khalil Hamra)

  • Egyptian walk past revolutionary graffiti in Tahrir Square, Cairo, Egypt, Friday, Jan. 25, 2013. (AP Photo/Thomas Hartwell)