Defence Minister Bashir Magashi says Boko Haram militants "mostly likely" carried out the attack on a prison near capital Abuja and that 64 jailed militants have also escaped.
Around 440 inmates are on the run after a suspected raid by Boko Haram militants on a prison in Nigeria's capital Abuja, an interior ministry official has said.
Tuesday night raid, and a separate ambush on an advance convoy of Nigerian President Muhammadu Buhari - who was not present - heading to his hometown in the northern state of Katsina, highlights Nigeria's going security challenges, especially in northern regions where armed insurgents and gangs are rife.
Shuaib Belgore, permanent secretary at the interior ministry, told journalists outside the Abuja prison - which has 900 inmates - that a security officer was killed during the raid and three others were injured.
He said the suspected Boko Haram attackers came for members who were held in the prison.
"They came specifically for their co-conspirators, but in order to get them..., some of them are in the general (prison) population so they broke out and other people in that population escaped as well but many of them have returned," Belgore said.
READ MORE: In conversation with a Boko Haram kidnapping victim
Over 400 recaptured
A total of 879 inmates fled, the prison service said in a statement, with 443 still at large and the rest recaptured.
Outside the prison, the charred remains of several vehicles with bullet holes were seen on Wednesday morning, attesting to gun battles in the vicinity during the raid.
A helicopter hovered overhead as armed security officials brought in a shirtless inmate limping with a gaping wound on his leg, while another injured inmate was carried into the prison.
Buhari was not in the convoy of cars carrying an advance team of security guards, protocol and media officers heading to the president's hometown Daura, near the border with Niger, to prepare for the Muslim Eid al Adha holiday.
"The attackers opened fire on the convoy from ambush positions but were repelled by the military, police and security personnel accompanying the convoy," a presidential spokesperson said in a statement.
READ MORE: ‘They failed to act’: Nigerians slam lax security after church attack