Acquisitions Acquisition of certain Rite Aid assets On September 19, 2017, the Company announced that it had secured regulatory clearance for an amended and restated asset purchase agreement to purchase 1,932 stores, three distribution centers and related inventory from Rite Aid for $4.375 billion in cash and other consideration. The purchases of these stores have been accounted for as business combinations and occurred in waves during fiscal 2018. The Company purchased 1,932 stores for total cash consideration of $4.2 billion for the fiscal year ended August 31, 2018 . As of May 31, 2019 , the Company completed the analysis to assign fair values for assets acquired and liabilities assumed for the acquired stores. During the fiscal year ended August 31, 2019 , the Company recorded certain measurement period adjustments based on additional information primarily to other non-current liabilities, intangible assets and deferred income taxes, which did not have a material impact on goodwill. The following table summarizes the consideration paid and the amounts of identified assets acquired and liabilities assumed for purchase of 1,932 stores as of the fiscal year ended August 31, 2019 . Consideration $ 4,330 Identifiable assets acquired and liabilities assumed Inventories $ 1,171 Property, plant and equipment 490 Intangible assets 2,039 Accrued expenses and other liabilities (55 ) Deferred income taxes 291 Other non-current liabilities (937 ) Total identifiable net assets $ 2,999 Goodwill $ 1,331 The identified definite-lived intangible assets were as follows: Definite-lived intangible assets Weighted-average useful life (in years) Amount (in millions) Customer relationships 12 $ 1,800 Favorable lease interests 10 219 Trade names 2 20 Total $ 2,039 Consideration includes cash of $4,157 million and the fair value of the option granted to Rite Aid to become a member of the Companys group purchasing organization, Walgreens Boots Alliance Development GmbH. The fair value for this option was determined using the income approach methodology. The fair value estimates are based on the market compensation for such services and appropriate discount rate, as relevant, that market participants would consider when estimating fair values. During fiscal 2019, this option was terminated resulting in recognition of a gain in other income (expense). The goodwill of $1,331 million arising from the business combinations primarily reflects the expected operational synergies and cost savings generated from the Store Optimization Program as well as the expected growth from new customers. See note 3 , exit and disposal activities , for additional information. The goodwill was allocated to the Retail Pharmacy USA segment. Substantially all of the goodwill recognized is expected to be deductible for income tax purposes. The fair value for customer relationships was determined using the multi-period excess earnings method, a form of the income approach. Real property fair values were determined using primarily the income approach and sales comparison approach. The fair value measurements of the intangible assets are based on significant inputs not observable in the market and thus represent Level 3 measurements. The fair value estimates for the intangible assets are based on projected discounted cash flows, historical and projected financial information and attrition rates, as relevant, that market participants would consider when estimating fair values. The following table presents supplemental unaudited pro forma consolidated sales for the fiscal year ended 2018 and 2017 as if all 1,932 stores were acquired on September 1, 2016. Pro forma net earnings of the Company, assuming these purchases had occurred at the beginning of each period presented, would not be materially different from the results reported. See note 3 , exit and disposal activities , for additional information. The unaudited pro forma information has been prepared for comparative purposes only and is not intended to be indicative of what the Companys results would have been had the purchases occurred at the beginning of the periods presented or results which may occur in the future. (in millions) 2018 1 2017 Sales $ 135,503 $ 127,893 1 Impacted by store closures due to the Store Optimization Program. Actual sales from acquired Rite Aid stores for the fiscal year ended 2018 included in the Consolidated Statement of Earnings are as follows: (in millions) 2018 Sales $ 5,112 The 1,932 Rite Aid stores acquired did not have a material impact on net earnings of the Company for the fiscal year ended 2018 . The Company acquired the first distribution center and related inventory for cash consideration of $61 million during the twelve months ended August 31, 2019 . The transition of the remaining two distribution centers and related inventory remains subject to closing conditions set forth in the amended and restated asset purchase agreement. AllianceRx Walgreens Prime On March 31, 2017, Walgreens Boots Alliance and pharmacy benefit manager Prime Therapeutics LLC (Prime) closed a transaction to form a combined central specialty pharmacy and mail services company AllianceRx Walgreens Prime, as part of a strategic alliance. AllianceRx Walgreens Prime is consolidated by Walgreens Boots Alliance and reported within the Retail Pharmacy USA division in its financial statements. The Company accounted for this acquisition of Primes specialty pharmacy and mail services business as a business combination involving noncash purchase consideration of $720 million consisting of the issuance of an equity interest in AllianceRx Walgreens Prime. The Company has completed the purchase accounting for the AllianceRx Walgreens Prime transaction. The following table summarizes the consideration for the acquisition and the amounts of identified assets acquired and liabilities assumed at the date of the transaction (in millions). Total consideration $ 720 Identifiable assets acquired and liabilities assumed Accounts receivable $ 217 Inventories 149 Property, plant and equipment 11 Intangible assets 331 Trade accounts payable (90 ) Accrued expenses and other liabilities (1 ) Total identifiable net assets 617 Goodwill $ 103 The identified intangible assets primarily include payer contracts. These contracts are estimated to have a weighted average useful life of 15 years. The goodwill of $103 million arising from the transaction consists of expected purchasing synergies, operating efficiencies by benchmarking performance and applying best practices across the combined company, consolidation of operations, reductions in selling, general and administrative expenses and combining workforces. Substantially all of the goodwill recognized is not expected to be deductible for income tax purposes. In accordance with ASC Topic 810, Consolidation, the noncontrolling interest was recognized based on its proportionate interest in the identifiable net assets of AllianceRx Walgreens Prime. The difference between the carrying amount of the noncontrolling interest and the fair value recognized as consideration in the business combination is recognized as additional paid in capital. Pro forma net earnings and sales of the Company, assuming the acquisition had occurred at the beginning of each period presented, would not be materially different from the results reported. The acquisition did not have a material impact on net earnings or sales of the Company for fiscal 2017. Other acquisitions The Company acquired certain prescription files and related pharmacy inventory in Retail Pharmacy USA for the aggregate purchase price of $304 million during the twelve months ended August 31, 2019 .