Gov. Andrew Cuomo and lawmakers in New York are set to advance legislation as part of the state budget to protect undocumented immigrants convicted of Class A misdemeanors from deportation by limiting the maximum sentence for those charges to 364 days—rather than one year.

The proposal was included in the first of many bills expected to be introduced Thursday night that will eventually make up the entirety of the state budget, which lawmakers are set to pass on Sunday.

The one-day sentence reduction for Class A misdemeanors will allow undocumented immigrants to avoid triggering deportation proceedings, which can begin when a defendant is handed a sentence of one year or longer.