(CNN) Two families and two doctors are suing the state of Alabama following the passage of Senate Bill 184, which makes it a felony for a doctor to administer gender-affirming health care to minors.
The Human Rights Campaign, several civil rights groups, and legal groups are representing the plaintiffs named in the complaint filed Monday.
The lawsuit challenges the bill, dubbed the Alabama Vulnerable Child Compassion and Protection Act, saying it violates the Fourteenth Amendment of the US Constitution's equal protection clause.
SB 184, which was signed into law by Republican Gov. Kay Ivey last week, states medical professionals who provide gender-affirming care to people 18 and under could face up to 10 years in prison. The law goes into effect May 8.
The complaint was filed on behalf of two Alabama families with transgender teenagers and two Alabama doctors.
The doctors are identified in the complaint as Dr. Morissa J. Ladinsky and Dr. Hussein D. Abdul-Latif, who are both providers at the Children's Hospital of Alabama and medical staff members at the University of Alabama at Birmingham Hospital.
The two teens are referred to anonymously in the lawsuit as Mary Roe, a 13-year-old transgender girl from Jefferson County and John Doe, a 17-year-old transgender boy living in Shelby County.
"The Transgender Plaintiffs are currently receiving medical care, including puberty blockers and hormone therapy, for gender dysphoria," the complaint reads. "If allowed to take effect, the Act will interrupt these medically necessary treatments, prevent them from obtaining future medically necessary treatments for gender dysphoria, and cause them to experience irreparable physical and psychological harm."
Medical associations including the American Psychological Association, American Medical Association, and the Pediatric Endocrine Society, have officially recognized the importance of gender-affirming care for minors.
Gina Maiola, communications director for Ivey, told CNN on Monday the governor's office has received the lawsuit saying, "We are prepared to defend our values and this legislation."