The Islamist sect Boko Haram has claimed responsibility for coordinated bomb attacks on security forces in the north Nigerian city of Kano that killed at least nine people late on Friday.
The attacks prompted the government to announce a dusk-to-dawn curfew in the city of more than 10 million people.
Kano, like other cities in the north, has been plagued by an insurgency led by Boko Haram, which is blamed for scores of bombings and shootings, aimed mainly at government targets, that are growing in scale and sophistication.
A spokesman for Boko Haram contacted reporters in the northeast city of Maiduguri, where the sect is based, to claim responsibility for the attacks. Copies of a letter were also dropped around Kano, which appeared to be from the group.
The letter, written in the Hausa language spoken in northern Nigeria, said the attacks were retribution for police arrests and killings of members of the sect.
The police said in a statement they are doing their best to bring the situation under control ... (we are) appealing to members of the public to come forward with information on the identity and location of these hoodlums.
The police said eight buildings were attacked, including police headquarters, three police stations, the headquarters of the secret services and the immigration head office. Shooting between police and the gunmen went on into the night, residents said.
We are still going around collecting corpses. We have nine but there are more, I don't know how many yet, a spokesman for the National Emergency Management Agency in Kano told Reuters.
They are mostly police officers ... some died from injuries from explosions, some gun shot wounds.
Witnesses said smoke billowed from the police headquarters after the blast blew out its windows, wrecked its roof and triggered a blaze that firefighters struggled to control.
Boko Haram became active around 2003 in the northeast corner state Borno but its attacks have spread into other northern states, including Yobe, Kano, Bauchi and Gombe.
Boko Haram, a Hausa term meaning Western education is sinful, is loosely modelled on the Taliban movement in Afghanistan.
The sect originally said it wanted sharia, Islamic law, to be applied more widely across Africa's most populous nation but its aims appear to have changed. Recent messages from its leaders have said it is attacking anyone who opposes it, at present mainly police, government and Christian groups.
The African Union on Saturday condemned the latest terrorist attacks in Kano.
The chairperson of the commission of the African Union, Jean Ping, condemns in the strongest terms the terrorist attacks in Kano ... (Ping) expresses AU's condolences to the families of the victims and wishes those wounded a speedy recovery.
A bomb attack on a Catholic church just outside the capital Abuja on Christmas Day, claimed by Boko Haram, killed 37 people and wounded 57.
The main suspect in that attack, Kabiru Sokoto, escaped from police custody within 24 hours of his arrest, and police have offered a 50 million naira ($309,600) reward for information leading to his recapture.
Police arrested him on Tuesday and he escaped when their vehicle came under fire as they were taking him from police headquarters to his house in Abaji, just outside Abuja, to conduct a search there.
Last August, a suicide bomber blew up the U.N. Nigeria headquarters in Abuja, killing at least 24 people.
There were two explosions in the southern state of Bayelsa in the oil-producing Niger Delta late on Friday but no one was killed. Local police said the attacks were not linked to Boko Haram.
Bayelsa, the home state of President Goodluck Jonathan, is holding a governorship election next month. Troops have been deployed in the state in recent weeks to stem any political unrest.
(Additional reporting by Felix Onuah, Segun Owen, Samuel Tife, Joe Brock and Austin Ekeinde in Nigeria and Richard Lough in Nairobi; Writing by Joe Brock; Editing by Sophie Hares)