Contract signed after nine months of talks