Updated

Al Qaeda militants seized control of an important army base Thursday following clashes with soldiers that left at least eight people dead, military officials said.

The officials say at least four soldiers and four militants died in the fighting and that at least 15 soldiers were taken hostage. The base is home to Yemen's 19th Infantry Brigade and is located in the Baihan area in southern Shabwa province.

The officials spoke on condition of anonymity because they are not authorized to talk to reporters.

A Twitter account affiliated with Yemen's Al Qaeda branch, considered to be the most dangerous affiliate of the global terror network, posted images of militants raising their black flag over the base.

The photographs also show militants riding in armored vehicles. The images' authenticity could not be independently confirmed but corresponded to events described by the officials.

A statement posted on the group's Twitter account said the attack on the base followed speculation that Shiite rebels -- who already control the capital, Sanaa, and several northern cities -- were looking to establish their presence in southern Yemen as well.

The Shiite rebels, known as Houthis, are sworn enemies of Al Qaeda but also oppose the U.S. government. Their stranglehold on the capital eventually forced President Abed Rabbo Mansour Hadi to resign, and they subsequently dissolved the parliament as well. They also recently seized control of central Bayda province, an important gateway to the south, and the oil-rich central Marib province.

Al Qaeda said in the statement that one of its fighters blew himself up at the base's gates setting off the clashes. They said the troops in the base eventually surrendered, and have since been freed.