In this Feb. 3, 2017 frame grab from video, residents inspect a house that was damaged during a Jan. 29, 2017 US raid on the tiny village of Yakla, in central Yemen.

The main figure killed in the US raid in Yemen targeting al-Qaida was a tribal leader allied to the country’s U.S.- and Saudi-backed president who was helping fight Shiite rebels, according to military officials and tribal figures.

The raid, which left at least 25 Yemenis dead and a US Navy Seal, showed how difficult it is to tell who is al-Qaida in a country where the militants are mingled with tribes and are fighting on the same side as the government against the rebels.