This story was updated at 5:37 p.m. with a statement from Bank of America.

Fresh off its own fight with state legislators over a bathroom bill, the city of Dallas won't be a party to the shunning of North Carolina.

By an 8-7 vote, the Dallas City Council rejected a resolution that would have banned taxpayer-funded trips to North Carolina and official dealings with the state's businesses. The resolution would have prevented official trips to Charlotte for the National League of Cities and could have threatened the city's relationship with its Charlotte-based banker, Bank of America.

Earlier this year, North Carolina partially repealed its contentious law, which had required transgender people to use a bathroom that corresponded to their gender at birth. The law still prohibits cities from enacting LGBT protections until 2020.

The partial repeal wasn't enough for some LGBT groups, nor for Dallas council members Philip Kingston, Adam Medrano, Mark Clayton and Omar Narvaez, who placed the resolution on Wednesday's agenda. They claimed North Carolina should be punished for "still discriminating against the transgender community."

Kingston said the council has "been doing a lot of symbolic work" recently, but the resolution would have a real impact. He said the resolution would send a message to the National League of Cities, which is hosting its summit Nov. 15-18, that it shouldn't be "supporting states where equality isn't valued like it's valued here."

"This is one of those cases where we put our money where our mouth is," Kingston said.

North Carolina has been rebuffed frequently since the Legislature there passed the bathroom law. The 2016 Associated Press analysis projected that North Carolina stood to lose at least $3.7 billion over 12 years because of the law. And most visibly, the NBA yanked the 2017 All-Star Game out of Charlotte, although the league awarded the city the 2019 game after the partial repeal.

When the NBA was considering moving the game, Kingston publicly pushed for Dallas to try to take the game and "whatever business we can get" from North Carolina's "shoeless hillbillies" during an interview with KTVT-TV (Channel 11).

Dallas council members Sandy Greyson and Kevin Felder on Wednesday joined Kingston and the four other council members in their support of the resolution.

But the majority of the council members said they couldn't abide the resolution.

Several were concerned about Bank of America, which is the city's largest banking employer. Chief financial officer Elizabeth Reich said the city has $1.8 billion with Bank of America and that she was "very concerned" about cutting the bank out for competition reasons.

In a written statement, Bank of America spokeswoman Britney Sheehan said the bank is "committed to the principle of nondiscrimination and we are proud to serve as the city's fiscal agent and to support this dynamic and diverse community."

Kingston dismissed the concerns, saying that banking is a "completely fungible" service. Narvaez suggested that Dallas try to get Bank of America to relocate to the city. Mayor Mike Rawlings replied that the ordinance would forbid him from going to visit the bank's headquarters in North Carolina to make a pitch for Dallas.

Rawlings also said the city ought not "treat Charlotte the way we wouldn't want to be treated."

Other council members, relieved Texas didn't impose a similar law over their objections, echoed the fairness concern.

Council member Rickey Callahan said the resolution would have set "a bad precedent." And Casey Thomas, who represents southwestern Dallas, pointed out that Charlotte's City Council opposed the state law.

"I just don't think it's fair to punish the city of Charlotte because of the actions of the Legislature of North Carolina," Thomas said.