HARRISBURG, Pa. (AP) — Council members in Pennsylvania’s capital have voted in favor of the sale of a municipal trash incinerator that dragged the financially troubled city to the brink of bankruptcy.

The Harrisburg City Council voted 6-1 Monday night to approve a financial recovery plan that includes the sale of the incinerator to the Lancaster Solid Waste Management Authority.

Officials say the sale will wipe out the city’s incinerator debt, which is estimated at $350 million. The plan also includes an extension of an increased earned income tax and an increase in parking fees.

Some residents had urged council members to take a closer look at the plan, saying it would leave taxpayers paying nearly twice the rate as neighboring communities.

The entire recovery plan goes before a Commonwealth Court judge for approval on Thursday.