IE 11 is not supported. For an optimal experience visit our site on another browser.

Taliban claim responsibility after explosions hit Afghan parliament

Seven militants who targeted the Afghan parliament were killed early Monday after the building was rocked by a series of explosions, officials said.

KABUL, Afghanistan -- Seven militants who targeted the Afghan parliament were killed early Monday after the building was rocked by a series of explosions, officials said.

A huge blast was followed by several smaller ones, Senator Nisar Haress told NBC News from a bunker inside the building.

Television stations were broadcasting live from parliament when the explosions occurred. Footage showed Afghan Speaker of the House Abdul Rauf Ibrahimi standing at a podium and calmly telling members of parliament that "an electric fault" appeared to be to blame.

Female Afghan lawmaker Qazi Rahela Saleem said one explosion knocked her off her seat.

Special forces troops were sent to the scene and a gunbattle raged for nearly two hours.

The incident began when a Taliban fighter driving a car loaded with explosives blew up outside parliament gates, Kabul police spokesman Ebadullah Karimi said. It was unclear how the driver got through several security checkpoints.

Taliban spokesman Zabihullah Mujahid said the militant group was behind the attack,

Kabul police chief Gen. Abdul Rahman Rahimi told local TV that all lawmakers were safe. The Health Ministry said that 25 civilians were wounded, including five women and three children.

A senior Kabul police official told NBC News that six attackers were killed and buildings in the area were being cleared.

Taliban insurgents have launched complex attacks on government targets in the capital in the past, including the parliament.

Related: State Department: 35% increase in terrorist attacks worldwide

Afghan forces have struggled to fend off Taliban advances since the U.S. and NATO combat mission officially concluded at the end of last year.

Militant attacks in Kabul have risen in the past two months after a lull at the beginning of the year. The city of 3.5 million has never fully stabilized since a U.S.-led war ousted the hardline Islamist Taliban regime in 2001.

The insurgents have also been advancing across the country's north, capturing two districts of the Kunduz province in as many days.

This story originally appeared on NBCNews.com