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
Mandatory Credit: Photo by JIM LO SCALZO/EPA-EFE/Shutterstock (11895253o)
An image made with a drone shows fuel tanks at a Colonial Pipeline breakout station in Woodbine, Maryland, USA, 08 May 2021. A cyberattack forced the shutdown of 5,500 miles of Colonial Pipeline's sprawling interstate system, which carries gasoline and jet fuel from Texas to New York.
Cyberattack forces shutdown of Colonial Pipeline in US, Woodbine, USA - 08 May 2021
Jim Lo Scalzo/EPA-EFE/Shutterstock
Mandatory Credit: Photo by JIM LO SCALZO/EPA-EFE/Shutterstock (11895253o) An image made with a drone shows fuel tanks at a Colonial Pipeline breakout station in Woodbine, Maryland, USA, 08 May 2021. A cyberattack forced the shutdown of 5,500 miles of Colonial Pipeline's sprawling interstate system, which carries gasoline and jet fuel from Texas to New York. Cyberattack forces shutdown of Colonial Pipeline in US, Woodbine, USA - 08 May 2021
Now playing
02:12
Pipeline shutdown could push fuel prices higher
ATLANTA - APRIL 30:  A Boeing 757 with a new Delta Airlines logo sits on the tarmac following the company's emergence from bankruptcy at Hartsfield Jackson International Airport April 30,2007 in Atlanta, Georgia. The 757 sports new branding that will appear on more than 900 planes, at airports and on advertising.  (Photo by Barry Williams/Getty Images) 757
Barry Williams/Getty Images North America/Getty Images
ATLANTA - APRIL 30: A Boeing 757 with a new Delta Airlines logo sits on the tarmac following the company's emergence from bankruptcy at Hartsfield Jackson International Airport April 30,2007 in Atlanta, Georgia. The 757 sports new branding that will appear on more than 900 planes, at airports and on advertising. (Photo by Barry Williams/Getty Images) 757
Now playing
01:45
Hear cockpit audio of Delta pilots reporting bird strike
CNN
Now playing
05:21
Palestinians fight eviction from homes in East Jerusalem
CNN
Now playing
01:38
Lawmakers push airlines to drop flight credit restrictions
ORLANDO, FLORIDA - FEBRUARY 28:  Former President Donald Trump addresses the Conservative Political Action Conference held in the Hyatt Regency on February 28, 2021 in Orlando, Florida. Begun in 1974, CPAC brings together conservative organizations, activists, and world leaders to discuss issues important to them. (Photo by Joe Raedle/Getty Images)
Joe Raedle/Getty Images
ORLANDO, FLORIDA - FEBRUARY 28: Former President Donald Trump addresses the Conservative Political Action Conference held in the Hyatt Regency on February 28, 2021 in Orlando, Florida. Begun in 1974, CPAC brings together conservative organizations, activists, and world leaders to discuss issues important to them. (Photo by Joe Raedle/Getty Images)
Now playing
02:15
Trump issues bizarre statement about Kentucky Derby winner
KRDO
Now playing
01:26
Six killed in shooting at Colorado birthday party
Justin Bamberg nr intv 05092021
CNN
Justin Bamberg nr intv 05092021
Now playing
04:05
Hear why this lawmaker is comparing his state to North Korea
Now playing
03:29
Renowned chef offers $50 gift card to those who get vaccinated
Kevin McCarthy 05092021
Fox News
Kevin McCarthy 05092021
Now playing
03:30
Watch McCarthy confirm support for Stefanik for GOP leadership post
LOUISVILLE, KENTUCKY - MAY 01: Medina Spirit #8, ridden by jockey John Velazquez, (R) crosses the finish line to win the 147th running of the Kentucky Derby ahead of Mandaloun #7, ridden by Florent Geroux, and Hot Rod Charlie #9 ridden by Flavien Prat , and Essential Quality #14, ridden by Luis Saez, at Churchill Downs on May 01, 2021 in Louisville, Kentucky. (Photo by Tim Nwachukwu/Getty Images)
Tim Nwachukwu/Getty Images
LOUISVILLE, KENTUCKY - MAY 01: Medina Spirit #8, ridden by jockey John Velazquez, (R) crosses the finish line to win the 147th running of the Kentucky Derby ahead of Mandaloun #7, ridden by Florent Geroux, and Hot Rod Charlie #9 ridden by Flavien Prat , and Essential Quality #14, ridden by Luis Saez, at Churchill Downs on May 01, 2021 in Louisville, Kentucky. (Photo by Tim Nwachukwu/Getty Images)
Now playing
02:50
Kentucky Derby winner's trainer speaks out after doping allegations
CNN
Now playing
02:02
WH Covid-19 response coordinator: We're turning the corner on pandemic
caitlyn jenner immigration path to citizenship bash intv sot vpx_00000000.png
caitlyn jenner immigration path to citizenship bash intv sot vpx_00000000.png
Now playing
01:20
Caitlyn Jenner: Immigrants should have a legal path to citizenship
CNN/@walidbarahmeh
Now playing
03:04
China's out-of-control rocket lands on Earth
CNN Weather
Now playing
01:53
Severe storms threaten millions this Mother's Day
CNN
Now playing
03:05
3 injured in Times Square shooting
Getty Images
Now playing
00:46
Actress Tawny Kitaen dies at 59

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.