The plan to shutter Hahnemann University Hospital in Center City Philadelphia has sparked legal clashes in state and federal courts, with well-known Philadelphia-rooted firms doing much of the legal wrangling.

Officials from American Academic Health System, which owns Hahnemann and St. Christopher’s Hospital for Children, have announced plans to close the facility in early September. The hospital is a major employer in the region and also a mainstay for Philadelphians seeking medical attention, so the news left city officials and labor leaders scrambling for ways to keep the facility—or at least key parts of it—up and running.