Updated

An El Salvador court has rejected the appeal of a woman sentenced to 30 years in prison for what she says was a stillbirth.

Teodora del Carmen Vasquez says she was working in 2007 when she began to experience intense pain, then bleeding. She called for help before fainting. When she regained consciousness she had lost her nearly full-term baby.

Authorities charged Vasquez with aggravated murder. She was convicted in 2008.

Her attorneys appealed her sentence, presenting testimony that the baby was born dead. The court said Wednesday it relied on the government autopsy's conclusion that the girl was born alive and asphyxiated.

Human rights group Amnesty International called the decision a step back for justice.

El Salvador is one of four Latin American countries with total bans on abortion.