A 30-year-old ambulance driver who took a photo of a domestic worker who had committed suicide and shared the photo on a group chat on social media last February was fined S$1,500 in a Singapore district court on Monday.

Shaik Haziq Fahmi Shaik Nasair Johar, an emergency ambulance driver, pleaded guilty to one charge of breaking the Official Secrets Act, the Shin Min Daily News reported.

The court heard that Haziq, who had been hired and later fired by Unistrong after the incident – a government contractor for medical emergencies – was on duty at the Marine Parade Fire Post when he and his team were called to an apartment where a foreign domestic worker was found hanging from a fan on Feb. 1, 2017.

Before leaving the room, Haziq took a photograph of the victim on his mobile phone as it was the first time he had seen a hanging. He then shared the photo on a WhatsApp chat group with his colleagues, though he understood the confidentiality agreement at work.

The photo ended up appearing on Facebook after the second co-accused, Nurizzah Afiqah Hussain, 27, a Unistrong emergency ambulance paramedic on the chat group, forwarded the picture to her boyfriend, third co-accused Fazli Hisham Mohd Fairuz Shah, 28.

The district judge slammed the accused’s behavior which created intense anguish for the victim’s family, who were already in a state of grief and shock.

Related: Former paramedic fined for sharing photos of maid’s suicide