Militants attacked the Reko Diq copper-and-gold mining camp in Pakistan's Balochistan province, killing four civilians and one security personnel.
Pakistani security forces killed three attackers and safely rescued more than 950 people, including foreign nationals, from the compound.
About two dozen hostages, including at least two Australian citizens, remain trapped in part of the camp as rescue operations continue.