Rep. Jeff Duncan (R-S.C.) warned in a Facebook post on Thursday that a national gun registry would be similar to a database used by the ruling Hutu tribe in Rwanda in the 1990s to locate and slaughter members of an opposing tribe in a genocide that killed up to 1 million people.

A bipartisan deal struck on background checks Wednesday would require gun sellers to maintain records proving to law enforcement officials they conducted a background check on gun buyers.

Some conservatives argue this could lead to a registry that would allow the federal government to one day confiscate legally owned firearms.

“The 2nd Amendment is (or should be) equal to the 1st Amendment and the 4th Amendment and all of the others,” Duncan said in his Facebook post. “Ask yourselves why it is under attack? Ask yourselves about a National gun registry database and how that might be used and why it is so wanted by progressives?”

Duncan then likened it to a tribal registry in Rwanda.

“Read about the Rwandan genocide, the Hutu and Tutsi tribes,” he continued. “Read that all Tutsi tribe members were required to register their address with the Hutu government and that this database was used to locate Tutsi for slaughter at the hands of the Hutu.”

Duncan wrote that since the government had the names and addresses of nearly all Tutsis living in Rwanda, “the killers could go door to door, slaughtering the Tutsis.”

He wrote that each Rwandan “had an identity card that labeled them Tutsi, Hutu, or Twa.”

Duncan accused Democrats of “preying on the fears” of citizens.

“I use this example to warn that national databases can be used with evil consequences,” he said. “Preying on the fears of the American citizenry is not good governance.”