Updated June 24, 2022 at 2:34 PM ET
The House of Representatives passed a bipartisan bill on gun safety 234-193 on Friday, exactly one month after a mass shooting in Texas took the lives of 19 children and two adults.
The Senate passed its version of the bill late on Thursday night by a 65-33 vote, and it now goes to President Biden to sign into law.
It is the first gun control measure to come out of Congress in nearly three decades.
The narrow bill focuses on mental health and school safety, and includes incentives for states to pass so-called red flag laws.
The legislation resulted from negotiations among 10 Republicans and 10 Democrats that began after two mass shootings in Buffalo, N.Y., and Uvalde, Texas, in May.
"This bill is a compromise," said Sen. Chris Murphy, D-Conn., who led the negotiations, right before the Senate vote began. "It doesn't do everything I want. But what we are doing will save thousands of lives without violating anyone's Second Amendment rights."
The Senate begins its two week July 4 recess after Friday.
Copyright 2022 NPR. To see more, visit https://www.npr.org.
![Senate Minority Whip John Cornyn of Texas, the lead Republican negotiator, talks to reporters after giving a speech in support of the Bipartisan Safer Communities Act at the Capitol on Wednesday.](https://npr.brightspotcdn.com/dims4/default/fd25790/2147483647/strip/true/crop/5328x3996+0+0/resize/880x660!/quality/90/?url=https%3A%2F%2Fmedia.npr.org%2Fassets%2Fimg%2F2022%2F06%2F23%2Fgettyimages-1404733046-e34aa82b36f476ed9ec674d29d526d970d704da2.jpg)