Washington (CNN) The Supreme Court agreed on Monday to take up a First Amendment challenge to a California law that requires licensed pregnancy centers to disseminate information about the availability of state run programs that provide abortions.

The petitioners say they are "life-affirming pregnancy centers" that offer a variety of medical and counseling services for pregnant women to consider options to abortion. Lawyers for the centers say that their clients, out of religious objections, do not refer patients for abortion and that they cannot be compelled to post the notification.

"Based on religious convictions, these clinics strongly object to being compelled to speak the messages required by the Act's disclosure," Kevin T. Snider, lawyer for A Woman's Friend Pregnancy Resource Clinic and Alternative Women's Center, argued in court papers.

It marks the first time the Supreme Court has agreed to hear an abortion-related case during the Trump administration, and one lawyer behind the challenge, Jay Sekulow, also serves on Trump's legal team.

The Ninth Circuit US Court of Appeals ruled against the centers last year.

Read More