Two Panamanians have been charged with murdering a New Zealand man who was allegedly shot and killed on his boat by pirates.

Prosecutor Tatiana Aguilar said at the courthouse in Colon that she had charged two men with aggravated homicide, robbery, criminal association and mistreatment of a minor in the death of Alan Culverwell.

Culverwell was killed in the early hours of 2 May after three men entered his family’s boat, which was docked in Guna Yala, a cluster of islands off Panama’s Caribbean coast.

Culverwell died of gunshot wounds while his wife and 11-year-old daughter were injured in the attack, Aguilar said.

The attack generated heavy news coverage in New Zealand.

During the hearing on Saturday afternoon, the court identified the two suspects as Leandro Herrera and Avelino Arosemena. A lawyer who appeared in court for the suspects declined to comment.

The third suspect, a minor, also appeared in court in connection with the case, said Aguilar, who declined to comment further about the suspect due to his age.