May 1 (UPI) -- A federal appeals court on Friday night issued a ruling that enacts a nationwide block on the prescription of the abortion pills in telehealth appointments and mailing them to patients.

A three-judge panel on the 5th Circuit Court of Appeals ruled in favor of the state of Louisiana, which had used to end a Food and Drug Administration rule that allows doctors to prescribe mifepristone without having an in-person visit, ABC News, Politico and The New York Times reported.

Mifepristone was first approved by the FDA in 2000 for medical termination of pregnancy, and until the COVID-19 global pandemic required that the drug be prescribed to patients during in-person doctor's appointments.

After enacting a strict abortion ban in 2022, Louisiana then moved to reclassify mifepristone as a controlled substance and criminalized its possession, effectively making it illegal in the state.

Although Louisiana had made it illegal to prescribe or possess in the state, people could obtain prescriptions from out-of-state doctors have virtual telehealth visits, with the mails mailed to people's homes.