A woman in El-Salvadore has spent the last 10 years in prison on an aggravated homicide charge after suffering what she said was a stillbirth.

Yet, the court has refused to overturn her sentence in spite of Amnesty International attempting to appeal the rest of her sentence.

In 2007, Teodora del Carmen Vásquez reportedly fainted at work and woke up to find she had suffered a stillbirth and lost her baby. But in El Salvador, where there’s been a total ban on abortion since 1998, women who have miscarriages and stillbirths are often subject to criminal charges and trumped up prison sentences. That was the fate of Vásquez who was arrested following the death of her baby and charged with committing an illegal abortion via miscarriage.

Now 37, Vásquez has spent 10 years in jail and will likely spend more because Amnesty International's attempt in court this week ended with the court upholding her sentence on Thursday.

Erika Guevara-Rosas, Amnesty’s Americas director, said in a statement: "Teodora’s tragic story is a sad illustration of everything that is wrong with the justice system in El Salvador, where human rights seem to be a foreign concept. Instead of punishing Teodora for being a woman, authorities in El Salvador must urgently take a hard look at their outrageous anti-abortion law and take immediate steps to repeal it."

There are currently 27 women imprisoned in El Salvador for abortion-related crimes, according to Reuters, many of whom were charged despite having reported miscarriages and other complications during their pregnancies. Earlier this year the United Nations called on El Salvador to repeal its total abortion ban, which does not allow for exception even in cases of rape, incest, or in instances that could prove fatal for the mother.

Vásquez’s attorney, Victor Hugo Mata, told Reuters that his client’s case cannot be appealed again, but that her legal team will find out if they can prove the law was applied incorrectly. He’s not optimistic Vásquez’s fate will change.