Local New York lawmakers on Monday voted to pass a bill that would prohibit transgender athletes from competing in girls and women’s sports at county-run facilities.

The legislature on Long Island’s Nassau County voted 12-5 in favor of the measure. The majority Republican lawmakers supported the bill, with two Democrats voting absent.

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

Bruce Blakeman in March 2024

Nassau County Executive Bruce Blakeman speaks to the crowd during his State of the County address held at the Theodore Roosevelt Executive and Legislative Building in Mineola, New York on March 6, 2024. (Steve Pfost/Newsday RM via Getty Images)

The approval represented a win for Nassau County Executive Bruce Blakeman. He first introduced the measure as an executive order, but the county’s Supreme Court ruled that he didn’t have the authority to introduce it as an executive order.

Blakeman ended up passing it through the legislature instead.

"I am gratified that the Republican Majority in the legislature voted in favor of this common sense measure to protect the integrity of women's sports and the safety of women participants," Blakeman said in a statement.

Bruce Blakeman in January 2024

Nassau County, New York, Executive Bruce Blakeman speaks at a Long Island Association (LIA) event on January 5, 2024 in Woodbury, New York. (Howard Schnapp/Newsday RM via Getty Images)

CECÉ TELFER, TRANSGENDER ATHLETE WHO WON NCAA TITLE, VOWS TO 'TAKE ALL THE RECORDS' IN INDOOR COMPETITIONS

The measure, which covers more than 100 sites just outside New York City, requires any teams, leagues or organizations that seek a permit from the county’s parks and recreation department to "expressly designate" whether they’re for male, female or coed athletes.

Any female teams or leagues will be denied permits if they allow transgender athletes to participate.

In March, Blakeman dispelled any notion that his measure was "transphobic."

Bruce Blakeman in August 2023

Nassau County Executive Bruce Blakeman discusses the migrant crisis and addresses recent comments made by Queens Borough President Donavan Richards suggesting migrants be sheltered at the Nassau Veterans Memorial Coliseum on Thursday, Aug. 17, 2023 in Mineola, New York.  (Schnapp/Newsday RM via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

"Again, this is not transphobic. It’s not anti-transgender," he told Fox News Digital. "Biological males who identify themselves as transgender females can compete against other biological males, or they can compete in coed leagues. Or if they wanted to form their own league, I would be happy to find a place for them to exercise their right to have recreation and enjoy sports and athletic competition."

Fox News' Tamara Gitt contributed to this report.

Follow Fox News Digital’s sports coverage on X and subscribe to the Fox News Sports Huddle newsletter.