WASHINGTON (AP) — A U.S. Green Beret with the Eglin Air Force Base-headquartered Army 7th Special Forces Group (Airborne) who died in Afghanistan this week was seizing a Taliban weapons cache when he was killed, the U.S. military said Friday.

Sgt. 1st Class Michael Goble was with his unit when its members discovered an undisclosed amount of Taliban weapons in Kunduz Province, said Eric Pahon, a spokesman for the U.S. forces in Afghanistan. Pahon said Goble and others were clearing out the cache when an explosion happened.

RELATED: Fallen 7th Group Green Beret remembered as ‘American hero’

Pahon said the Taliban wrongly claimed that the service members were in a convoy and targeted by a roadside bomb during a raid.

Goble, 33, of Washington Township in Bergen County, New Jersey, was killed and an Afghan service member was wounded. Goble served with the 7th Group’s 1st Battalion.

Details about what type of weapon or ammunition exploded are still under investigation.