Rensselaer County’s legal challenge to New York’s law that would allow undocumented immigrants to apply for driver’s licenses has been put on a temporary hold by a federal judge this week.

Rensselaer County Clerk Frank Merola had filed the legal challenge over the measure, which passed in June and is set to take effect in December.

U.S. District Court Judge Gary Sharpe approved the stay while a similar lawsuit filed by Erie County Clerk Mickey Kearns is resolved. Kearns filed his lawsuit two weeks prior to the Rensselaer County challenge.

Attorneys representing the state had previously argued the cases should be consolidated, a request Sharpe denied.

Attorney General Letitia James has said the measure, known as the Green Light law, will be able to withstand legal scrutiny.

Cuomo signed the measure, but publicly expressed concerns the law would allow the federal government to gain access to a trove of information on undocumented immigrants. Advocates of the measure say that concern is unfounded.