House lawmakers on Thursday passed legislation to ban new gun legislation, a day after a gunman killed six people and injured at least 17 at a church in Charleston, South Carolina.
The measure was voted down by the Senate on a party-line vote.
The House vote was largely along party lines.
House Speaker Paul Ryan said the measure was a victory for common sense and the sanctity of our country.
He said it would “end the madness” that has engulfed the nation in recent days.
The bill, which has been referred to the House Judiciary Committee, also would bar states from enacting gun laws that exceed federal law.
It would also prohibit any federal law that requires background checks on anyone purchasing a gun or any other federally-funded gun control measure.
The Senate approved the bill by a party vote in May.
It passed the House in a similar vote last year, but Republicans objected to the provision that bars federal funding for states that don’t expand background checks.
That provision was part of a broader provision that barred federal funding to states that have banned same-sex marriage.
“This is a common sense measure that will prevent another mass shooting and save lives,” Ryan said.
The White House said President Donald Trump was briefed on the legislation, which is expected to become law on Thursday.
Trump has long pushed for gun control measures, including a ban on assault weapons.
In June, he told a group of supporters in Cincinnati, “If you have to have guns, I’ll take them off you.”
“This bill will make it much easier for the American people to defend themselves,” Trump said in a speech to the National Rifle Association’s annual meeting in July.
In the past year, Trump has repeatedly pushed for stronger gun laws.
He and other Republican leaders have said their priority is to stop gun violence and prevent another Newtown.
They have also pushed for expanded background checks and tougher restrictions on gun purchases.
The National Rifle Society said the bill was “a first step to ensure that the Second Amendment is not infringed upon by the Congress.”
The gun lobby’s chief lobbyist, Sen. Dianne Feinstein Dianne Emiel FeinsteinDems push back on using federal funds to buy guns on Trump’s watch Poll: Democrats hold big leads in Ohio and Virginia MORE (D-Calif.), has long called for new gun laws to curb gun violence.
She has also supported expanding background checks for all gun purchases and a ban that would prohibit people on terrorism watch lists from buying guns.
Trump last week signed a ban banning people on the terror watch list from buying a gun.
The Associated Press contributed to this report.