As recently as December, painstaking negotiations were gaining ground.