Deal has been two decades in the making and follows five years of negotiations between companies and creditors