Officials say 31 people died in airstrikes in eastern Afghanistan.

Interior Ministry spokesman Zemeri Bashary says most of the 31 people were foreign fighters. But Khalid Farooqi, a lawmaker from Paktika, says at least nine civilians were killed.

The U.S.-led coalition says four civilians were killed and that several militants died in the clashes in northern Paktika province early Wednesday. Twelve militants were detained.

Farooqi says the operation apparently targeted militant commander Mullah Mohammad Nabi and fighters who served under him.

Civilian casualties have been a problem for the U.S.-led coalition over the years, though fewer civilian deaths have been reported so far this year than in 2007.