They still had another 10 years to go to complete the contract.
There were ten years remaining on the contract.