Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

An affiliate of the Islamist terror group ISIS has claimed responsibility for a series of deadly attacks in Egypt on Thursday, security consultants told NBC News. The four attacks in North Sinai and Suez killed 27 people, security and medical officials told Reuters.

The attacks came after commemorations of the anniversary of the 2011 uprising turned deadly earlier this week. Egypt's government faces an Islamist insurgency based in Sinai and growing discontent with what critics perceive as heavy-handed security tactics.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

The ISIS group said it would release more details later, according to Flashpoint Intelligence, a global security firm that is a consultant to NBC News. Reuters reported that 25 people were killed in a bombing of military buildings in the capital of North Sinai province, an army major was killed at a checkpoint in Rafah and a police officer was killed by a roadside bomb in Suez city. The government newspaper, al-Ahram, said its office in al-Arish was destroyed in a fourth attack, which the ISIS group claimed.

The Egyptian military confirmed the attacks, although it didn't say how many casualties were involved. It said that the attacks were the result of a successful campaign to pressure the militants.

IN-DEPTH

SOCIAL

Dozens killed in attacks in Egypt's North Sinai, Suez http://t.co/o0SPLoMcWf pic.twitter.com/JumSWJkOZP — SBS News (@SBSNews) January 29, 2015

— M. Alex Johnson and Sarah Burke