“How would a county clerk know if a foreign document is real?” asked State Sen. Daphne Jordan.

“They’re already being trained, already receiving funding,” Sepulveda rebutted. “So this is nothing new to the DMV or county clerks.”

Supporters say the bill would lower the number of uninsured people and improve safety on the roads while boosting the economy. Critics, however, say it would circumvent federal law and encourage illegal immigration.

A recent poll released by Siena College showed more than 50 percent of New Yorkers surveyed were against allowing undocumented immigrants to get drivers’ licenses.

“If we pass a bill that winds up targeted the undocumented, then shame on all of us,” Cuomo said.

The governor said he would only sign the bill into law if the state solicitor general found there were sufficient safeguards to prevent federal authorities from accessing the DMV database.

The law would go into effect in 180 days, meaning undocumented immigrants could get licenses beginning in December. Legislators say they will have to follow the same requirements as other licensed drivers in New York, which includes having auto insurance.