>> As far as I understand, anti-abortion laws started getting traction in the 1800s. Before that, these were scattered and mostly religious inspired.
The court found otherwise, you can read the majority's evidence in their opinion at https://www.supremecourt.gov/opinions/21pdf/19-1392_6j37.pdf starting on page 17:
"The “eminent common-law authorities (Blackstone, Coke, Hale, and the like),” Kahler v. Kansas, 589 U. S. ___, ___ (2020) (slip op., at 7), all describe abortion after quickening as criminal. Henry de Bracton’s 13th-century treatise explained that if a person has “struck a pregnant woman, or has given her poison, whereby he has caused abortion, if the foetus be already formed and animated, and particularly if it be animated, he commits homicide.” 2 DeLegibus et Consuetudinibus Angliae 279 (T. Twiss ed. 1879); see also 1 Fleta, c. 23, reprinted in 72 Selden Soc. 60–61 (H. Richardson & G. Sayles eds. 1955) (13th-century
treatise)."
They go on for a few pages going over common law before discussing the historical record in the US.