Thousands of local students sit for 17 minutes in honor of the 17 students killed last month in a high school shooting in Florida, during a nationwide student walkout for gun control in front the White House in Washington, DC, March 14, 2018.

The U.S. House of Representatives on Wednesday overwhelmingly passed legislation to help schools and local law enforcement prevent gun violence, one month after the mass shooting at a Florida high school that killed 17 people.

The House passed the bill by a vote of 407-10, sending it to the Senate for consideration.

Earlier on Wednesday, the White House announced President Donald Trump's support of the bill, which is far short of the broader gun control legislation he talked about shortly after the shooting at Marjory Stoneman Douglas High School in Parkland, Florida.

Trump tweeted in support of the measure on Wednesday evening, hours after high school students across the nation staged protests to end gun violence.

@realDonaldTrump tweet

"Today the House took major steps toward securing our schools by passing the STOP School Violence Act. We must put the safety of America's children FIRST by improving training and by giving schools and law enforcement better tools," Trump wrote on the social media platform.

Since that massacre, student protesters have successfully lobbied for tighter gun controls in Florida. Hundreds of them gathered outside the U.S. Capitol on Wednesday to take their argument to a Congress that has long resisted placing new limits on firearms and gun sales.

The House-passed bill would authorize federal grants, totaling $50 million a year, to fund training, anonymous reporting systems, threat assessments, intervention teams and school and police coordination.