What were the main provisions of the contract mentioned in the passage?