“Every human being has a right to life, liberty, and the pursuit of happiness,” said state Sen. Joni Albrecht. “I look forward to the day when every child is protected from conception from elective abortions in the State of Nebraska.”

The abortion ban takes effect immediately. In April, the state Senate failed to pass a six-week abortion ban by only one vote.

The new law also bans purported gender-altering surgery for patients under age 19, the age of legal majority in Nebraska. Proponents present the surgeries, also known as sex-change operations, as gender-confirmation surgery.

The bill requires the state medical officer to create regulations for cross-sex hormones and puberty-blocking drugs for minors, which proponents call gender-affirming care. The regulations could include a full ban, according to the Nebraska Examiner. This part of the legislation will take effect Oct. 1.

State Sen. Kathleen Kauth said the legislation is “all about protecting children. It was an honor to be able to use it to also protect preborn children.”

“Every option is on the table to undo these regressive measures, including seeking justice through the courts,” said Mindy Rush Chipman, interim executive director of the American Civil Liberties Union of Nebraska, in a Monday statement. Chipman charged that the bans will cause “significant harm.”