Thousands of women stocked up on abortion pills just in case they needed them, new research shows, with demand peaking in the past couple years at times when it looked like the medications might become harder to get.

Medication abortion accounts for more than half of all abortions in the U.S., and typically involves two drugs: mifepristone and misoprostol. A research letter published Tuesday in JAMA Internal Medicine looked at requests for these pills from people who weren’t pregnant and sought them through Aid Access, a European online telemedicine service that prescribes them for future and immediate use.

Aid Access received about 48,400 requests from across the U.S. for so-called “advance provision” from September 2021 through April 2023. Requests were highest right after news leaked in May 2022 that the Supreme Court would overturn Roe v. Wade — but before the formal announcement that June, researchers found.