Rep. Alexandria Ocasio-Cortez, D-N.Y., threatened Thursday to put Democratic colleagues that vote Republican “on a list” for primary challenges.

The progressive freshman representative suggested in a closed-door meeting of House Democrats that she would help liberal activists unseat moderate Democrats skirting the party line, a spokesperson for Ocasio-Cortez said according to the Washington Post .

“She said that when activists ask her why she had to vote for a gun safety bill that also further empowers an agency that forcibly injects kids with psychotropic drugs, they’re going to want a list of names and she’s going to give it to them,” spokesperson Corbin Trent said, referring to U.S. Immigration and Customs Enforcement.

Two individuals present at the Democrats' meeting told the Post that Speaker Nancy Pelosi, D-Calif., called out about two dozen moderate Democrats to get on board with the agenda.

“We are either a team or we’re not, and we have to make that decision,” Pelosi said.

On Wednesday, 26 Democrats voted with Republicans in amending legislation that was proposed to expand federal background checks for gun purchases.

The amendment added a provision that would require Immigration and Customs Enforcement to be notified if an illegal immigrant tried to buy a gun.