Repayments of Senior Debt

AGILENT TECHNOLOGIES, INC.NOTES TO CONDENSED CONSOLIDATED FINANCIAL STATEMENTS (UNAUDITED) - (Continued)   
  
  
  
14. LONG-TERM DEBT Senior Notes The following table summarizes the company’s long-term senior notes: 

|  |  |  |  |  |  |  |  |  |  |  |  |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|  |  |  |  |  |  |  |  |  |  |  |  |
|   | July 31, 2022 |  | October 31, 2021 |
|   | Amortized Principal |  | AmortizedPrincipal |
|  | (in millions) |
| 2023 Senior Notes | —  |  |  | 599  |  |
| 2026 Senior Notes | 299  |  |  | 298  |  |
| 2029 Senior Notes | 494  |  |  | 494  |  |
| 2030 Senior Notes | 496  |  |  | 496  |  |
| 2031 Senior Notes | 843  |  |  | 842  |  |
| Total Senior Notes | $ | 2,132  |  |  | $ | 2,729  |  |

  
Term Loan Facility  
On April 15, 2022, we entered into a term loan agreement with a group of financial institutions, which provided for a $600 million delayed draw term loan that will mature on April 15, 2025. As of July 31, 2022, we had $600 million borrowings outstanding under the term loan facility and had a weighted average interest rate of 2.75 percent. Loans under the term loan agreement bear interest, at our option, either at: (i) the alternate base rate, as defined in the term loan agreement, plus the applicable margin for such loans or (ii) adjusted term SOFR, as defined in the term loan agreement, plus the applicable margin for such loans. The term loan agreement contains customary representations and warranties as well as customary affirmative and negative covenants.  
On May 4, 2022, we used the proceeds from the term loan and repaid the $600 million outstanding aggregate principal amount of our 2023 senior notes due July 15, 2023. The total redemption price of approximately $609 million was computed in accordance with the terms of the 2023 senior notes as the present value of the remaining scheduled payments of principal and unpaid interest on the notes being redeemed. In May 2022, we recorded a loss on extinguishment of debt of $9 million in other income (expense), net in the condensed consolidated statement of operations. In addition, $7 million of accrued interest, up to but not including the applicable redemption date, was paid.   
All outstanding notes listed above are unsecured and rank equally in right of payment with all of Agilent’s other senior unsecured indebtedness. There have been no other changes to the principal, maturity, interest rates and interest payment terms of the Agilent senior notes, detailed in the table above, in the nine months ended July 31, 2022 as compared to the senior notes described in our Annual Report on Form 10-K for the fiscal year ended October 31, 2021.   
15. STOCKHOLDERS' EQUITY  Stock Repurchase Program  On November 19, 2018 we announced that our board of directors had approved a share repurchase program (the "2019 repurchase program") designed, among other things, to reduce or eliminate dilution resulting from issuance of stock under the company's employee equity incentive programs. The 2019 repurchase program authorizes the purchase of up to $1.75 billion of our common stock at the company's discretion and has no fixed termination date. The 2019 repurchase program does not require the company to acquire a specific number of shares and may be suspended, amended or discontinued at any time. During the nine months ended July 31, 2021, we repurchased and retired 3.05 million shares for $365 million under this authorization. Effective February 18, 2021, the 2019 repurchase program was terminated and replaced by the new share repurchase program. The remaining authorization under the 2019 repurchase plan of $193 million expired on February 18, 2021.  
On February 16, 2021 we announced that our board of directors had approved a new share repurchase program (the "2021 repurchase program") designed, among other things, to reduce or eliminate dilution resulting from issuance of stock under the company's employee equity incentive programs. The 2021 repurchase program authorizes the purchase of up to $2.0 billion of our common stock at the company's discretion and has no fixed termination date. The 2021 repurchase program which became 27
