A U.S. drone strike intended to hit an Islamic State (Isil) hideout in Afghanistan killed at least 30 civilians resting after a day’s labor in the fields, officials said on Thursday.

The attack on Wednesday night also injured another 40 people after accidentally targeting farmers and laborers who had just finished collecting pine nuts at Wazir Tangi in eastern Nangarhar province, three Afghan officials told Reuters.

“The workers had lit a bonfire and were sitting together when a drone targeted them,” tribal elder Malik Rahat Gul told Reuters by telephone from Wazir Tangi.

Afghanistan’s Defense Ministry and a senior U.S official in Kabul confirmed the drone strike, but did not share details of civilian casualties.