California just became the first state in the U.S. to require public colleges to provide abortion medication to students on campus. Governor Gavin Newsom signed Senate Bill 24 — known as the "College student Right to Access Act" — into law Friday.

Under the new law, all 34 University of California and California State University systems will need to provide the medication, which is not currently offered on campuses, at no cost to students. They have until January 2023 to comply.

A medical abortion is nonsurgical and noninvasive — it involves taking two prescription pills during the first 10 weeks of pregnancy to induce a miscarriage. It is not the same, however, as the morning-after pill, which delays or stops the release of an egg altogether.

To achieve true equality, women must have control over their own bodies.

@GavinNewsom signed legislation expanding access to reproductive health care services, including @SenatorLeyva’s #SB24 to increase access to reproductive health care at UC & CSU campuses. #CaliforniaForAll pic.twitter.com/CSMDL8KG1U — Office of the Governor of California (@CAgovernor) October 11, 2019

Lawmakers said the legislation is critical during a time when the Trump administration is working to roll back access to life-saving abortion services.

Get Breaking News Delivered to Your Inbox

"As other states and the federal government go backward, restricting reproductive freedom, in California we are moving forward, expanding access and reaffirming a woman's right choose," Governor Newsom said in a statement. "We're removing barriers to reproductive health — increasing access on college campuses and using technology to modernize how patients interact with providers."

Former Governor Jerry Brown, also a Democrat, vetoed a similar piece of legislation in September 2018, claiming that students had easy access to off-campus reproductive health providers. Supporters argued centers are difficult to access for students without cars and the cost of the medication could be out of reach for many.

According to a study in the Journal of Adolescent Health, about 62% of students at California universities were more than 30 minutes away from the closest abortion facility using public transportation. The study also found the average cost of the medication was $604 — a significant barrier for some students.

Thank you @CAgovernor @GavinNewsom for signing #SB24! With your signature, CA rejects the misguided paths that other states have taken in limiting access to abortion care. I look forward to partnering with you as we continue to fight for reproductive justice for all Californians. pic.twitter.com/OkXdGZyx5T — Connie Leyva (@SenatorLeyva) October 11, 2019

The state has already raised the necessary $10 million in private donations to set up and pay for the services. The law does not rely on state dollars, according to The Associated Press.

With a newly conservative Supreme Court, access to abortion has come under fire across the South and Midwest, where state lawmakers have raced to pass laws that ban the procedure in hopes of overturning Roe v. Wade, the 1973 Supreme Court case that effectively legalized the procedure nationwide.

"As states across our country are rolling back women's health care and access to abortion, California continues to lead the nation in protecting every individual's right to choose," said Senator Connie Leyva, who introduced the bill.

"By ensuring that abortion care is available on campus, college students will not have to choose between delaying important medical care or needing to travel long distances or even missing classes or work."