A woman admitted ingesting a considerable number of pills to end her pregnancy after being told it was going to be a stillbirth.
The Tunisian woman, Raya Sellami Zammit, 30, was given a suspended jail term after she admitted having carried out the abortion two weeks ago.
Her friend, Moroccan national Soumia Mansour, who procured the pills, admitted aiding the abortion. He also received a suspended jail term.
Magistrate Natasha Galea Sciberras heard how Ms Sellami Zammit, who is married to a Maltese man, was six to seven weeks into her pregnancy and wanted to end it.
She asked her friend to procure a cocktail of pills because she had been told that it was going to be a stillbirth.
She swallowed some of the pills and ingested others intravaginally in a bid to end the pregnancy.
The court, noting their early guilty plea and clean police record, jailed Ms Sellami Zammit for two years suspended for four and Mr Mansour for 18 months suspended for three.
Police inspectors Joseph Busuttil and Spiridione Zammit prosecuted.