By David Madden    

CHESTER, Pa (CBS) — All signs on Thursday were pointing to a potential settlement of a lawsuit filed several months ago by the Chester Upland School District against the Pennsylvania Department of Education.

READ MORE: Disgruntled Bar Patron Opens Fire Into Northeast Philadelphia Bar Killing 21-Year-Old Woman: Police

The district, the commonwealth and the Chester Community Charter School have been in court since January, fighting over Chester Upland’s mounting debt which, at one point, threatened the future of the district itself.
Now, Chester Upland’s solicitor, Leo Hackett says a federal judge has been advised that a deal may be near.

READ MORE: Police Hope Surveillance Video Will Help Solve Deadly Shooting In Philadelphia's Oak Lane Section

“The parties, in substance, have reached the terms of an agreement,” says Hackett. “And the formalities of the writing and execution of them are still to be completed.

Assuming they can get everything down on paper, the settlement could be final by mid-August. This comes as Chester Upland awaits the likely appointment of a chief recovery officer accountable to Harrisburg, allowed under a new state law covering distressed school districts. In effect — another state takeover.

MORE NEWS: Arson Suspect Arrested In Connection To Fire, Building Collapse That Killed Philadelphia Fire Lt. Sean Williamson