A 25-year-old woman from Mainland China was given a suspended sentence for a child abuse charge at the Eastern Magistrates’ Court on Thursday after trying to kill herself and her three-year-old son.

The court heard that on July 29, the woman, who was five months pregnant at that time, took her son to Hung Shing Yeh Beach on Lamma Island and tried to kill herself by drowning, Oriental Daily reported.

When they were in the water, her boy became frightened and his crying stopped the woman’s suicide attempt. They made their way back to the beach by themselves.

The woman was understood to have come to Hong Kong with a two-way permit from Mainland China but found out that her husband had had an affair.

The couple had a quarrel and the woman left home with their boy. The husband later alerted police to say he couldn’t find them.

Police later found the pair and the woman told officers that she had wanted to drown herself and her son, but could not go through with it.

Police arrested the woman for ill-treatment or neglect by those in charge of a child.

Magistrate Jacky Ip Kai-leung told the defendant in the court that her action was very selfish and she should seek help from a social worker –not end her own life, Apple Daily reported.

Considering the fact that the woman had pleaded guilty and was now eight months pregnant, the judge ordered her to serve four weeks in prison – but made it a sentence suspended for one year.