CHICAGO (AP) – Illinois’ plan to end federal immigration detention in the New Year has hit another legal snag. Under a law signed in August, local governments can’t sign new agreements with federal immigration authorities and must end old ones to detain immigrants.

The three counties with such contracts faced a Jan. 1 deadline.

Pulaski County has already transferred or released detainees, but two others involved in a lawsuit have a temporary extension to Jan. 13 while the case is being appealed.