Three armed robbers boarded a bulk carrier and briefly held a crew member hostage at gunpoint off Peru, the International Maritime Bureau says.

However, the pirates fled the scene after crew members sounded an alarm, and no one onboard was harmed.

“One crew on routine rounds managed to notify the bridge of the robbers’ presence before being taken hostage at gunpoint,” the International Chamber of Commerce bureau said in its piracy report.

After the alarm was raised, all crew were mustered on the bridge.

Peru’s coastguard sent a team to investigate the incident, which took place while the vessel was anchored off Callao.

The bulker was not identified. The attack took place Saturday, though it was made public today.

It is the seventh piracy incident on South America’s coast this year, although it is the first for Peru, according to the IMB’s Piracy Reporting Centre.

There have been 127 pirate attacks worldwide this year.