BROOKLYN - Public advocate Bill de Blasio has filed a motion in federal bankruptcy court to halt the closure of Interfaith Medical Center.

De Blasio presented a 60-page motion that claims that the state Department of Health rushed closure plans by disregarding the 90-day review required under law. It will go to the state Supreme Court if the motion is granted.

In the meantime, IMC plans to find a way to restructure or replace the charge of the facility.

Shutdown of the cash-strapped Bed-Stuy hospital is scheduled to begin Monday, with the emergency room closing down Sept. 14 and inpatient care coming to an end the next day. The final closure date for the entire center is set for Nov. 14.

The mayoral hopeful previously released a report that shows 175,000 people will be forced to travel further in the event of a medical emergency without IMC.

De Blasio also appeared in court Tuesday on a civil disobedience charge after being arrested during a rally for both IMC and the failing Long Island College Hospital in Cobble Hill. He and other demonstrators were assigned to a program that will lead to their cases being dismissed if they stay out of trouble.