(CNN) A young rape survivor who'd been accused of inducing an abortion and previously sentenced to 30 years in prison was acquitted of all charges by an El Salvador judge Monday at the conclusion of a retrial.

Evelyn Hernández, 21, was found innocent after the judge said there was not enough evidence to convict her, according to Hernández's defense team.

Salvadorean rape victim Evelyn Hernandez (C) celebrates with her lawyers after being cleared of murder after giving birth to a stillborn baby at home in 2016, at Ciudad Delgado's court in San Salvador on August 19, 2019. El Salvador has an extremely strict abortion ban.

In April 2016, Hernández was found on the floor of her bathroom drenched in blood. She was taken to a local emergency room in her hometown of El Carmen, roughly 40 kilometers (about 25 miles) east of the capital by her mother and a neighbor.

Doctors who examined her saw signs of a delivery but no baby and reported her to the authorities. When local officials arrived at her home five hours later, they found the newborn dead in a septic tank.

In 2017, Hernández was convicted and sentenced to 30 years in prison for killing the child. Prosecutors at the time claimed she had induced an abortion and left the baby for dead.

Read More