A suspected Boko Haram suicide bomber disguised in school uniform has killed 47 students in northeast Nigeria, in one of the worst attacks against schools teaching a so-called Western curriculum.
The explosion ripped through an all-boys school in Potiskum just as students gathered for morning assembly before classes began, causing panic and chaos.
The massacre, described by President Goodluck Jonathan as a "dastardly attack", came just a day after the release of a new Boko Haram video in which the Islamist group's leader, Abubakar Shekau, again rejected Nigerian government claims of a ceasefire and peace talks.
Students at the Government Comprehensive Senior Science Secondary School were waiting to hear the principal's daily address when the explosion happened at 7:50 am (5.50 pm AEST).
Several witnesses described the blast as "thunderous" and the bloody aftermath as a scene of abandoned footwear, charred school books, bags and body parts.
"There was an explosion detonated by a suicide bomber. We have 47 dead and 79 injured," national police spokesman Emmanuel Ojukwu said, adding that Boko Haram was believed to be responsible.
Ojukwu also confirmed local media reports that the bomber was disguised as a student at the school, which has more than 1000 pupils aged 15 to 20.
People prepare bodies of the victims for burial in Potiskum, Nigeria.
Yobe state governor Ibrahim Gaidam ordered the immediate closure of all public schools in the Potiskum area and slammed the government in Abuja for failing to tackle the insurgency.
"Urgent action must be taken right now to restore a fast-waning public confidence by doing whatever it takes to stop the escalating violence," he said in a statement.
Jonathan promised those affected that his government would find the culprits, "no matter how long it takes."
- Blood-stained uniforms -
Student Adamu Abdullahi said those at the centre of the blast near the principal's office were flung in all directions and others were knocked off their feet.
"I found myself under the weight of another student, who fell over me. I'm certain he was dead. I was dazed and disorientated for a moment," he told AFP.
"When I realised what had happened, I managed to push the body on top of me and started running like everyone else. It was confusion all over. Everybody was hysterical.
"I saw many people on the ground. Human flesh and blood were splattered all over the place... I ran out of the school and went home.
"When my father saw me he was terrified. I didn't realise my white school uniform was stained with human blood and bits of flesh."
The dead and injured were taken to the Potiskum General Hospital just 100 metres (yards) away.
Boko Haram, which wants to create a hardline Islamic state in northern Nigeria, has previously carried out deadly attacks on schools teaching a curriculum it deems to be Western.
In February, gunmen killed at least 40 students after throwing explosives into the dormitory of a government boarding school in Buni Yadi, also in Yobe state.
In July last year, 42 students were killed when Boko Haram stormed dormitories in a gun and bomb attack on a government boarding school in the village of Mamudo, near Potiskum.
Boko Haram's most high-profile attack on a school came in April, when fighters kidnapped 276 girls from the town of Chibok in Borno state, also in northeast Nigeria.
More than six months later, 219 of the girls are still being held.
- Relentless violence -
Potiskum has been repeatedly targeted in deadly attacks blamed on Boko Haram, including last Monday, when a suicide bombing killed at least 15 at a Shiite religious ceremony.
Yobe is one of three northeastern states that has been under a state of emergency since May last year.
But violence has continued unabated and Boko Haram has seized at least two dozen towns and villages in recent months, raising doubts about the government's ability to control the region.
Governor Gaidam said President Jonathan "has a very urgent responsibility to explain... why murderous and callous insurgent and criminal attacks are still on the rise".
Boko Haram fighters were seen in a new video obtained by AFP on Sunday parading a tank in an unidentified town that they apparently now control and Shekau preaching to locals.
The message in the 44-minute video appeared to be aimed at reinforcing Shekau's claim that he has created a caliphate within Nigeria.
Jonathan vowed that the country would "overcome the current security challenges imposed by domestic terrorists and their foreign allies."