MEXICO CITY — Miriam was eight months pregnant and home alone when she started bleeding unexpectedly. “I lost sense of time. I couldn’t move,” she said. When she regained consciousness 11 hours later, her baby was dead.

At the hospital, a doctor began interrogating her, asking her what she had inserted to damage her uterus. Prosecutors determined that she’d attempted an abortion and charged her with “aggravated homicide” of her baby. She spent 14 years in prison before her release in 2018.