TRENTON, N.J. (CBSNewYork/AP) — New Jersey does not have to pump millions of dollars into a program that offered free or low-cost health insurance to legal immigrants.

An appeals court ruled Tuesday the Legislature did not overstep its authority by allowing the Human Services to end coverage for nearly 12,000 immigrants enrolled in the state’s FamilyCare program.

READ MORE: Nor'easter Triggers Blizzard Warning In Suffolk County, As New York Braces For Widespread Snowfall

Eligibility rules were changed last year as state officials dealt with a budget shortfall.

Lawyers for Seton Hall University’s Center for Social Justice claimed the change was unconstitutional because it singled out a certain group of immigrants.

READ MORE: TIMELINE: Nor'easter Could Bring More Than A Foot Of Snow To Long Island & Jersey Shore; Up To 8 Inches To NYC

Associate professor Jenny-Brooke Condon told The Star-Ledger of Newark the case may be appealed to the state Supreme Court.

Sound off in our comments section below…

MORE NEWS: Funeral Held For NYPD Det. Jason Rivera, 22-Year-Old Killed In Line Of Duty In Harlem

(TM and Copyright 2011 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2011 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)