The Massachusetts Senate voted Thursday to override Gov. Charlie Baker's veto of a bill that would allow immigrants without legal status the right to obtain a driver's license.
The bill won't go into effect until July 2023.
Supporters call it historic and say it will allow tens of thousands of people to drive to work and school legally.
Get Boston local news, weather forecasts, lifestyle and entertainment stories to your inbox. Sign up for NBC Boston’s newsletters.
“In order to get an application driver’s license as a non-status person, you’ll need either a passport or letter of nationality from your country of origin," said Speaker of the House Ron Mariano, D-Quincy.
Supporters had camped out in front of the State House overnight on Thursday in anticipation of the Senate vote.
In-depth news coverage of the Greater Boston Area.
Critics of the legislation, including Gov. Baker have suggested that the bill could lead to illegal voting.
“I can see someone who is lying about who they are, now having a Massachusetts license that shows they’re somebody else," said Rep. Steven Xiarhos, R-Barnstable.
The State House News Service contributed to this report.