A Texas Democratic state lawmaker abruptly left a call with Democratic National Committee (DNC) Chair Ken Martin and other top party leaders on Wednesday after she was warned she was committing a felony.

State Rep. Nicole Collier said she was told she had to get off the phone after she joined a Zoom call about redistricting that included prominent Democrats.

Collier joined the call from a bathroom in the House chamber. She said she wasn’t allowed to participate from the floor, and other lawmakers could be heard in the background.

She was about to answer a reporter’s question when she announced that she had to leave, saying, “They said it’s a felony for me to do this.”

She didn’t specify who told her that.

“Apparently, I can’t be on the floor or in the bathroom,” she said.

She then said to someone nearby who was not visible, “Well, you told me I was only allowed to be here in the bathroom.”

Participating in the call, U.S. Sen. Cory Booker, of New Jersey, accused Republicans of trying to silence a Black woman who is “an American leader.”

“The fact that she can’t even let her voice be heard is frickin’ outrageous,” Booker said.

House Speaker Dustin Burrows’ office said Collier wasn’t breaking the chamber’s rules or breaking the law. His office doesn’t know why Collier made her statements or exactly what happened.