In the wake of the mass shootings in Uvalde, Texas, and Buffalo, New York, the House of Representatives voted to raise the age for buying semi-automatic weapons.

The vote was mostly along party lines, with two Democrats voting against the bill and 10 Republicans siding with the Democrats.

—House Press Gallery (@HouseDailyPress) June 8, 2022

The age hike was part of a package of gun safety bills introduced by Rep. Jerry Nadler. There were 10 GOP members who voted to retain Title I.

70% of Americans think gun control laws should be enacted, according to a recent poll.

While the legislation isn't expected to survive in the Senate, which is focused on policies related to school safety, improving mental health programs, and enhancing background checks, the House bill serves to show voters where lawmakers stand on the issue ahead of the November elections.

There are 10 Republicans who voted in favor of raising the age limit for buying semi-automatic weapons.

Rep. Brian Fitzpatrick of Pennsylvania

Rep. Representative Brian Fitzpatrick
Rep. Representative Brian Fitzpatrick, R-Pa., speaks during a House Intelligence Committee hearing on Capitol Hill in Washington, Thursday, April 15, 2021.
Al Drago/Pool via AP

Rep. Anthony Gonzalez of Ohio

Rep. Anthony Gonzalez US House of Representatives

Rep. Chris Jacobs of New York

Chris Jacobs
Rep. Chris Jacobs of New York.
Bill Clark/CQ-Roll Call, Inc via Getty Images

Rep. John Katko of New York

John Katko
Rep. John Katko of New York.
AP Photo/Andrew Harnik, Pool

Rep. Adam Kinzinger of Illinois

Republican Rep. Adam Kinzinger of Illinois during a hearing on Capitol Hill on March 10, 2021.
Republican Rep. Adam Kinzinger of Illinois during a hearing on Capitol Hill on March 10, 2021.
Ting Shen-Pool/Getty Images

Rep. Nicole Malliotakis of New York

Rep. Nicole Malliotakis US House of Representatives

Rep. Maria Salazar of Florida

Republican Rep. Maria Elvira Salazar of Florida at a press conference outside the Capitol on March 17, 2021.
Republican Rep. Maria Elvira Salazar of Florida at a press conference outside the Capitol on March 17, 2021.
Caroline Brehman/CQ-Roll Call via Getty Images

Rep. Chris Smith of New Jersey

U.S. Rep. Chris Smith, R-N.J.
U.S. Rep. Chris Smith, R-N.J., attends the Monmouth GOP Super Saturday campaign drive, June 2, 2018, in Colts Neck. Smith is seeking re-election in New Jersey's 4th District.
Julio Cortez, File/AP

Rep. Michael Turner of Ohio

Rep. Michael Turner, R-Ohio
Rep. Michael Turner, R-Ohio, speaks during a House Intelligence Committee hearing on Capitol Hill in Washington, Thursday, April 15, 2021.
Al Drago/Pool via AP

Rep. Fred Upton of Michigan

Rep. Fred Upton
Rep. Fred Upton, R-Mich., speaks during the Problem Solvers Caucus press conference in the Capitol on Tuesday, Feb. 11, 2020.
Bill Clark/CQ-Roll Call, Inc via Getty Images)