DETROIT (AP) – The bill for lawyers, consultants and other professionals in Detroit’s historic bankruptcy is $170 million.

The city disclosed the figure in a court filing Tuesday as ordered by Judge Steven Rhodes. Detroit must cover the costs, although it received a $5 million reimbursement by the state of Michigan, lowering the total bill to $165 million.

READ MORE: Consumer Alert: How To Avoid Fake N95, KN95 Masks

The bankruptcy was the largest by a government in U.S. history. The case was closed earlier this month, but the judge still must sign off on the professional fees.

Detroit got rid of $7 billion in debt, slashed pensions and eliminated retiree health care. The city also is pledging to spend more than $1 billion on better services for residents.

READ MORE: Flint Public Schools Staying Virtual Indefinitely Due To Large Amount Of Positive COVID-19 Cases

The professional fees are higher than any other city that has gone through bankruptcy.

[Complete Coverage: Detroit Bankruptcy]

MORE NEWS: State Fears Confusion After Michigan Restaurant Wins In Dining Ban Case

© Copyright 2014 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.