The Kern County Board of Supervisors has approved a plant to get Kern Medical Center out of the red.
The supervisors voted to make adjustments to a budget that now makes KMC only responsible for one third of its financial problems.
The hospital now only has to pay back about $6.5 million of a $19.5 million debt.
Two other departments within the county will pitch in with the remainder of the money.
Kern Medical Center's interim CEO John Nilon says it's better to take action now than spread funds over a long period of time.
Former CEO Paul Hensler was recently fired for budget discrepancies and the hospital's accounting issues.