CHICAGO (AP) — A Cook County judge has ordered a group home owner to turn over 18 residents with developmental and intellectual disabilities because they were in danger of “irreparable injury.”

The Chicago Tribune reports that Judge Kathleen Pantle ordered Disability Services of Illinois Tuesday to turn the residents over to the Illinois Department of Human Services.

DHS officials complained the company had obstructed efforts to move the residents after the agency revoked the company’s license. That followed a Tribune investigation that found injuries and deaths linked to group homes.

Disability Services CEO Reuben Goodwin Sr. said Tuesday he would abide by the order. His network includes seven homes on Chicago’s south side and south suburbs. An eighth home closed last month.