Updated

An attack on an army post in the restive northern part of Egypt's Sinai Peninsula caused a large explosion and killed 17 people, according to security and medical officials, making it one one of the deadliest attacks on security forces since violence spiked following the ouster of Islamist President Mohammed Morsi last year.

Two senior military officials said earlier that a suicide bomber had rammed his vehicle into the checkpoint. But a top official in el-Arish, where the bombing took place, said the checkpoint was struck by a mortar round and rocket-propelled grenades, which hit a tank carrying explosives and ammunition, causing a secondary explosion.

A fourth official confirmed that account but said a suicide bomber also targeted the post. Conflicting accounts are common in the chaotic aftermath of such incidents.

The officials said the death toll is expected to rise because nearly 20 people were wounded and several were in critical condition. The officials spoke on condition of anonymity because they were not authorized to talk to media.

Islamic militants have been battling security forces in the Sinai for a decade, but the violence spiked after the military overthrew Islamist President Mohammed Morsi in July 2013 amid massive protests demanding his resignation. The attacks have also spread to other parts of Egypt, with militants targeting police in Cairo and the Nile Delta.

The government has blamed the violence on Morsi's Muslim Brotherhood group and launched a sweeping crackdown against his supporters, killing hundreds in street clashes and jailing some 20,000 people.

The Brotherhood officially renounced violence decades ago and has denied involvement in the recent attacks, saying it is committed to peaceful protests demanding Morsi's reinstatement.

Most of the major attacks have been claimed by Ansar Beit al-Maqdis, an Al-Qaeda-inspired group based in Sinai.