Colombia’s Avianca said a court in New York has approved a reorganization plan that it will allow it to leave bankruptcy before the end of the year as a “financially viable and stable airline.”

Avianca will emerge from Chapter 11 proceedings with “significantly reduced debt” and more than $1 billion in liquidity, it said in a press release on Tuesday.

The airline plans to add 23 routes in 2022, including Colombia, El Salvador, Guatemala and Costa Rica, and expects to have more than 130 aircraft for 200 routes by the end of 2025, it said.

Avianca received court approval in July to borrow $1.6 billion in long-term financing to pay off a previous debtor-in-possession loan and fund its emergence from bankruptcy.