Prior to 2020, a 1921 law regulated access to and penalties for abortions. Any woman that intentionally caused her own abortion or consented to another person performing one on her, was faced with one to four years of prison. In addition, any participant in the procedure could face up to fifteen years of prison, depending on the consent given by the woman, her eventual death and the intent of the participant. The same penalty applied to doctors, surgeons, midwives and pharmacists that induced or cooperated in the induction of an abortion, with the addition of a special license withdrawal for two times the length of their sentence. However, abortion could be performed legally by a certified doctor if: