lt gov dan patrick texas lawmakers bathroom bill sot_00002530.jpg
lt gov dan patrick texas lawmakers bathroom bill sot_00002530.jpg
Now playing
01:45
Texas official: Women want to be protected
The Ohio Channel
Now playing
01:00
State senator attends Zoom meeting while driving his car
Dr. Swati Rathore
Now playing
03:09
Medical staff in India ordered to run from ICU fearing backlash
Florida Gov. Ron Desantis holds up the voting bill after signing it on Fox News live. The cable news network was the only press outlet granted access to the signing.
Fox News
Florida Gov. Ron Desantis holds up the voting bill after signing it on Fox News live. The cable news network was the only press outlet granted access to the signing.
Now playing
03:42
Florida governor goes on Fox News to sign controversial law
pool
Now playing
01:28
'Pay your fair share': Biden pitches raising taxes on wealthy
CNN
Now playing
01:45
Secret Service chief testifies about Capitol riot security
Now playing
03:01
See French and UK boats sent to Jersey over fishing feud
tucker carlson encourages mask confrontations newday vpx_00000000.png
Fox News
tucker carlson encourages mask confrontations newday vpx_00000000.png
Now playing
03:26
Sanjay Gupta: This is so frustrating as a scientific reporter
screengrab nepal hospital
onlinekhabar.com
screengrab nepal hospital
Now playing
03:13
Nepal sees 1,200% rise in Covid-19 cases as India's crisis spills over borders
Erin Schaff/Bloomberg/Getty Images/Mark Wilson
Now playing
04:16
Stefanik previously called out Trump, now she mirrors his rhetoric
CNN
Now playing
06:00
False stories on vaccine are rampant in an unexpected place
U.S. President Donald Trump works on his phone during a roundtable at the State Dining Room of the White House June 18, 2020 in Washington, DC. President Trump held a roundtable discussion with Governors and small business owners on the reopening of American's small business. (Photo by Alex Wong/Getty Images)
Alex Wong/Getty Images
U.S. President Donald Trump works on his phone during a roundtable at the State Dining Room of the White House June 18, 2020 in Washington, DC. President Trump held a roundtable discussion with Governors and small business owners on the reopening of American's small business. (Photo by Alex Wong/Getty Images)
Now playing
02:03
Facebook Oversight Board upholds Trump ban
unruly airplane passengers muntean pkg vpx_00013701.png
unruly airplane passengers muntean pkg vpx_00013701.png
Now playing
01:38
Increase in unruly and maskless airplane passengers
In this photo released by China's Xinhua News Agency, a Long March 5B rocket carrying a module for a Chinese space station lifts off from the Wenchang Spacecraft Launch Site in Wenchang in southern China's Hainan Province, Thursday, April 29, 2021. China has launched the core module on Thursday for its first permanent space station that will host astronauts long-term. (Ju Zhenhua/Xinhua via AP)
Ju Zhenhua/Xinhua/AP
In this photo released by China's Xinhua News Agency, a Long March 5B rocket carrying a module for a Chinese space station lifts off from the Wenchang Spacecraft Launch Site in Wenchang in southern China's Hainan Province, Thursday, April 29, 2021. China has launched the core module on Thursday for its first permanent space station that will host astronauts long-term. (Ju Zhenhua/Xinhua via AP)
Now playing
02:03
'Out of control' rocket being monitored by Pentagon
CNN/Getty Images
Now playing
01:04
McConnell refuses to voice support for Liz Cheney
Pool
Now playing
01:14
Biden: Cheney drama shows GOP in midst of a mini-revolution
WASHINGTON, DC - MARCH 18: Dr. Rochelle Walensky, director of the adjusts her face mask during a Senate Health, Education, Labor and Pensions Committee hearing on the federal coronavirus response on Capitol Hill on March 18, 2021 in Washington, DC. (Photo by Susan Walsh-Pool/Getty Images)
Susan Walsh/Pool/Getty Images
WASHINGTON, DC - MARCH 18: Dr. Rochelle Walensky, director of the adjusts her face mask during a Senate Health, Education, Labor and Pensions Committee hearing on the federal coronavirus response on Capitol Hill on March 18, 2021 in Washington, DC. (Photo by Susan Walsh-Pool/Getty Images)
Now playing
04:17
CDC director addresses confusion around mask guidance

Story highlights

So-called bathroom bill fails on last day of special legislative session in Texas

Major companies and LGBTQ advocates had opposed legislation

(CNN) —  

A controversial bill that would require people to use school restrooms and facilities that match the sex on their birth certificates has died in the Texas Legislature.

The so-called bathroom bill, which transgender advocates and major Texas companies had opposed, failed to make it out of the House on Tuesday, the last day of the state’s special legislative session.

Senate Bill 3 had passed the state Senate earlier during the special session.

The potential legislation had divided Texas Republican lawmakers, pitting ardent supporter Lt. Gov. Dan Patrick in opposition to House Speaker Joe Straus.

Moderate voices said Texas would face the same backlash North Carolina did last year when it passed a similar but broader bill. North Carolina lawmakers repealed the bill in March after business groups, athletic organizations and entertainers condemned it.

“We hope that this time, this issue remains settled: Texans don’t want harmful, anti-transgender legislation,” JoDee Winterhof, senior vice president for policy and political affairs at the Human Rights Campaign, said in a statement.

“First and foremost, these bills were defeated because of the many voices that came out in opposition, saying, ‘Don’t discriminate in the Lone Star State.’ Luckily for Texas, this chorus of voices was louder than the voices pushing for discrimination.”

Major corporations had publicly opposed the bill. These included business leaders from BP America, Halliburton, ExxonMobil Global Services, American Airlines, AT&T and Southwest Airlines. Tech giant IBM ran a full-page ad in local publications in July that said the company “opposes any measure that would harm the state’s LGBT+ community and make it difficult for businesses to attract and retain talented Texans.”

The bill would have prohibited people from using multiple-occupancy restroom, shower or changing facilities at Texas public and charter schools that didn’t match the sex as stated on a person’s birth certificate, driver’s license, personal identification certificate or license to carry a handgun. It also would’ve overturned local and individual school district’s policies on bathroom use.

Patrick, in an angry press conference Tuesday, said the bill’s failure to pass would hurt privacy.

The lieutenant governor said Texans don’t “want men – we’re not talking about transgendered – they don’t want sexual predators who would use that as a loophole to follow any of the women in this room into a bathroom. The people of Texas don’t want that.”

Patrick and other supporters had maintained the legislation would protect the privacy of women and children.

The bill was stalled after the contentious legislative session came to an end in May. The governor asked Texas lawmakers to return to Austin for a special session that started July 18. Chief among the legislators’ priorities had been the bathroom bill, simply labeled “privacy.”

CNN’s Gisela Crespo, Emanuella Grinberg and Julia Horowitz contributed to this report.