Prosecutors are considering appealing the sentences after originally asking that the girl be jailed for one year and her brother for seven years.

Global health authorities and rights groups have long criticised Indonesia's abortion laws, which they say restrict women's rights to reproductive health and lead many to undertake dangerous abortions at illegal clinics.

Abortions account for between 30-50% of maternal deaths in the country, according to a 2013 World Health Organisation report.