7 killed as bombing targets taxi in northeastern Nigeria

People gather at the scene of a car bomb explosion in Maiduguri, Nigeria, Wednesday, Oct. 12, 2016. An explosion targeted a taxi filled with passengers in northeast Nigeria on Wednesday, killing at least seven in the deadliest bombing to hit the area’s largest city in several months, officials and witnesses said. (AP Photo/Ismail Alfa Abdulrahim) (The Associated Press)

People gather at the scene of a car bomb explosion in Maiduguri, Nigeria, Wednesday, Oct. 12, 2016. The explosion seemed to target a taxi filled with passengers in northeast Nigeria on Wednesday, in the deadliest bombing to hit the area’s largest city in several months, officials and witnesses said. (AP Photo/Jossy Ola) (The Associated Press)

A body lays covered at the scene after a car bomb explosion in Maiduguri, Nigeria, Wednesday, Oct. 12, 2016. The explosion seemed to target a taxi filled with passengers in northeast Nigeria on Wednesday, in the deadliest bombing to hit the area’s largest city in several months, officials and witnesses said. (AP Photo/Jossy Ola) (The Associated Press)

A local official says at least seven people have been killed in an explosion targeting a taxi in northeastern Nigeria's largest city.

Bello Dambatta, an emergency response official, says six people were killed at the scene of Wednesday's attack and another died at a hospital. He says at least four people were injured.

It is unclear if a bomb had been planted on the taxi or if a passenger detonated explosives after boarding. The explosion occurred as the taxi approached a gas station.

Northeastern Nigeria is the epicenter of Boko Haram's seven-year uprising that has claimed more than 20,000 lives.

Maiduguri city had been spared deadly bombings in recent months as soldiers were able to shoot suicide attackers before they reached their targets.