The repeal is a victory for abortion rights advocates, who have for years tried to overturn the 1864 law that banned abortion at all stages of pregnancy, except to save a mother’s life, and threatened providers with two to five year prison sentences.