The Senate voted to permanently ban the sale of tobacco products to anyone under the age of 21 on Thursday.

The rule was included as a provision in the spending bill that was passed in the upper chamber and now heads to President Trump Donald John TrumpBiden says voters should choose who nominates Supreme Court justice Trump, Biden will not shake hands at first debate due to COVID-19 Pelosi: Trump Supreme Court pick 'threatens' Affordable Care Act MORE’s desk to be signed into law.

Several senators had originally sponsored independent legislation to enact the rule, but partisan debates derailed that bill. The provision in the funding bill is supported by many major public health groups and has the backing of Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellHawley warns Schumer to steer clear of Catholic-based criticisms of Barrett Senate GOP set to vote on Trump's Supreme Court pick before election Harris slams Trump's Supreme Court pick as an attempt to 'destroy the Affordable Care Act' MORE (R-Ky.) and Sens. Tim Kaine Timothy (Tim) Michael KaineTrump taps Amy Coney Barrett for Supreme Court, setting up confirmation sprint Supreme Court fight pushes Senate toward brink Trump plans to pick Amy Coney Barrett to replace Ginsburg on court MORE (D-Va.), Brian Schatz Brian Emanuel SchatzDemocrats turn focus to health care for Supreme Court fight Democratic senator to party: 'A little message discipline wouldn't kill us' CDC causes new storm by pulling coronavirus guidance MORE (D-Hawaii), Todd Young Todd Christopher YoungSenate GOP eyes early exit Why the US should rely more on strategy, not sanctions Davis: The Hall of Shame for GOP senators who remain silent on Donald Trump MORE (R-Ind.), Dick Durbin Richard (Dick) Joseph DurbinHawley warns Schumer to steer clear of Catholic-based criticisms of Barrett Two Judiciary Democrats say they will not meet with Trump's Supreme Court pick Sunday shows preview: Lawmakers prepare for SCOTUS confirmation hearings before election MORE (D-Ill.) and Mitt Romney Willard (Mitt) Mitt RomneyCrenshaw looms large as Democrats look to flip Texas House seat The Hill's Morning Report - Sponsored by Facebook - Republicans lawmakers rebuke Trump on election Trump dumbfounds GOP with latest unforced error MORE (R-Utah).

ADVERTISEMENT

“I’m proud the Senate approved legislation today including our Tobacco-Free Youth Act to help address this urgent crisis and keep these dangerous products away from our children. It is because of my position as a tobacco state Senator that I introduced this bill, and it is because of my role as Senate Majority Leader that President Trump will be signing the Tobacco-Free Youth Act into law by week’s end,” McConnell said in a statement.

“Passage of this lifesaving legislation is an enormous victory for the health of our young people. By raising the age to buy tobacco products nationwide, we can save 223,000 lives and reduce youth tobacco use,” added Kaine.

Lawmakers have expressed confidence that raising the tobacco purchasing age will help curb youth tobacco use as debate continues to rage over banning certain flavors of vaping products.

Tobacco companies have come out in support of raising the purchasing age to 21 largely in an effort to try to prevent more stringent regulations from being debated in Washington.