Relatives of trapped miners wait outside the SERMIGOLD mine in Arequipa, Peru, Sunday, May 7, 2023. [AP Photo]

A fire broke out deep in a gold mine in southern Peru and killed at least 27 workers during an overnight shift, Peruvian authorities reported.

The Yanaquihua mining company said in a statement that 175 workers had been safely evacuated after the accident, which happened late Friday or early Saturday. It said the 27 dead worked for a contractor that specializes in mining.

Government officials said the cause of the fire was under investigation. Some news reports said preliminary investigations indicated an explosion might have been set off by a short circuit in a part of the mine about 100 meters (330 feet) below the surface.

Relatives of the victims were brought by buses to the mine in Yanaquihua in the Arequipa region, where they were briefed by security agents. Some sat in front of posters at the entrance to the mine to wait for the bodies of their loved ones.

Marcelina Aguirre said her husband was among the dead. She said he had told her there were risks at the mine.

"We are very worried, very sad we are, to lose a husband, leaving two abandoned children," she said.

The Public Ministry of Arequipa's Fiscal District said investigators were working to clarify what happened. "During the investigation, the Prosecutor's Office will determine the cause of the tragic event and the responsibilities of those involved," its statement said.