Oklahoma Gov. Kevin Stitt on Tuesday signed a bill that bans non-binary gender markers on birth certificates, enraging LGBT advocates.

The Oklahoma State Department of Health agreed in a civil case last year to allow a nonbinary option for people who do not identify as either male or female. The birth certificate in that case was issued to an Oklahoma-born Oregon resident who sued after the agency initially refused the request. 

Oklahoma Gov. Kevin Stitt

FILE: Oklahoma Gov. Kevin Stitt delivers his State of the State address in Oklahoma City. (AP Photo/Alonzo Adams, File)

The settlement angered Republicans, including the governor. His appointee to lead the agency resigned the next day after the settlement, and the governor issued an executive order prohibiting any changes to a person's gender on birth certificates – despite the settlement agreement. 

HOUSE REPUBLICANS ACCUSE DHS OF PUSHING ‘IDEOLOGICALLY DRIVEN AGENDA’ WITH TRANSGENDER POLICIES

Civil rights group Lambda Legal has challenged the executive order in federal court, but the state has not yet responded. Fox News has reached out to the group for comment on the bill. 

Many states only offer male or female gender options on birth certificates, but Oklahoma is the first to write the nonbinary prohibition into law. 

Oklahoma Gov. Kevin Stitt

Oklahoma Gov. Kevin Stitt signs a bill in Oklahoma City on Wednesday, March 30, 2022, that prevents transgender girls and women from competing on female sports teams.  (AP Photo/Sean Murphy)

Currently, 15 states and the District of Columbia specifically allow a gender marker designation outside of male or female, according to the National Center for Transgender Equality. That number will increase this summer when Vermont's new statute goes into effect.

KANSAS LAWMAKER DOESN'T WANT TO SHARE RESTROOM WITH ‘HUGE’ TRANSGENDER COLLEAGUE

The U.S. State Department recently announced it had issued its first passport with an "X" gender designation for people who do not identify as male or female and expects to be able to offer the option more broadly next year.

"People are free to believe whatever they want about their identity, but science has determined people are either biologically male or female at birth," said Oklahoma Rep. Sheila Dills, the House sponsor of the bill, in a statement after the bill passed the House last week. "We want clarity and truth on official state documents. Information should be based on established medical fact and not an ever-changing social dialogue."

South Dakota Transgender Sports

FILE - Advocates for transgender people march from the South Dakota governor's mansion to the Capitol in Pierre, S.D., on March 11, 2021.  (AP Photo/Stephen Groves, File)

Republicans in conservative states have introduced several bills this year targeting transgender and nonbinary people. Last month, Gov. Stitt signed a bill prohibiting transgender girls from playing on female sports teams, one of many such bans being signed into law across the country. 

CLICK HERE TO GET THE FOX NEWS APP

Other conservative states, including Alabama, Arkansas, Tennessee, and Texas, have passed laws prohibiting gender-confirming treatments for minors.

The Associated Press contributed to this report