In conjunction with its pending acquisition of Rite Aid Pharmacies, Walgreens Boots Alliance closed a $1 billion revolving credit facility agented by JPMorgan Chase.

According to a related 8-K filing, the company also entered into a backstop credit agreement consisting of an unsecured bridge term loan facility with aggregate commitments equal to $5 billion with HSBC as administrative agent.

The revolving credit facility has an aggregate commitment in the amount of $1 billion with a facility termination date of the earlier of 364 days following the effective date or the date of termination in whole of the aggregate commitment.

Borrowings under the revolving credit agreement will bear interest at a fluctuating rate per annum equal to, at the company’s option, the alternate base rate or the reserve adjusted Eurocurrency rate, in each case, plus an applicable margin calculated based on the company’s credit ratings.

JPMorgan Chase, Mizuho Bank, Bank of Tokyo-Mitsubishi and U.S. Bank are joint lead arrangers, joint book managers and co-syndicators for the transaction.