(AP) A bill that would have restricted which locker rooms South Dakota transgender students could use was scuttled Tuesday, for now averting another bitter fight in the Capitol over the regulation of school facilities.

Senate Education Committee Chairman Jim Bolin said right before the bill's first hearing that its author wanted it withdrawn. The sponsor, Sen. Lance Russell, didn't immediately respond to telephone calls for comment about the measure, which required public school students to use the locker rooms, shower rooms and changing facilities matching their gender at birth.

Related: Harrison Browne Scores in NWHL Debut as Transgender Player

Under the bill, schools would have been allowed to provide alternative accommodations, such as single-occupancy restrooms.

The proposal was similar to one Gov. Dennis Daugaard vetoed last year, and the Republican had said he would veto this bill too if it reached his desk.

Dale Bartscher, who lobbies for a conservative group that supported the bill, said the governor's opposition was a "strong factor" in its withdrawal. Conversations are ongoing about whether another bill will be introduced this year or next year, said Bartscher, of Family Heritage Alliance Action.

Bolin said lawmakers have the option to introduce another bill this session, but that it "would be an extremely unwise decision."

Related: Texas Judge Halts Federal Transgender Health Protections

The abrupt announcement that it would be pulled was surprising to foes, who said they hoped the issue had been laid to rest. Jessie Lamphere, an 18-year-old transgender high school student from Sturgis, said he was relieved.

"I just want them to know that transgender boys are boys, and transgender girls are girls, and that's just who we are," Lamphere said. "We all want privacy and safety in locker rooms, and we're not in there to harm anyone. We're just in there to get dressed and get out."

Bartscher said the measure may live on in further legislation, or at the ballot box, "but this issue is not going to go away."

A ballot measure that would require transgender students to use bathrooms corresponding with their sex at birth may go before voters in 2018. Sponsor Jack Heyd of Box Elder has said he wants to protect children and ensure that students have privacy.