Net cash used in financing activities was $221.8 million in 2023 YTD compared to $349.8 million in 2022 YTD. The decrease is primarily due to a decrease in the amount of share repurchases partially offset by increased payments on our revolving credit facility as well as an increase in our quarterly dividend payments.
On March 17, 2022, our Board of Directors (the "Board") approved a stock repurchase program under which we may repurchase up to $300.0 million of our common stock. This stock repurchase program has no expiration date and replaced a previous stock repurchase program which was approved on May 31, 2019. All repurchases to date under our stock repurchase programs have been made through open market transactions.
During 2023 YTD and 2022 YTD, we paid $45.2 million and $212.9 million, respectively, to repurchase 414,319 shares and 2,734,005 shares, respectively, of our common stock. As of September 26, 2023, $121.7 million remained under our authorized stock repurchase program.
On May 11, 2023, our Board authorized the payment of a quarterly cash dividend of $0.55 per share of common stock compared to the quarterly dividend of $0.46 per share of common stock declared in 2022. The payment of quarterly dividends totaled $110.4 million and $93.3 million in 2023 YTD and 2022 YTD, respectively.
We maintain a revolving credit facility (the "credit facility") with a syndicate of commercial lenders led by JPMorgan Chase Bank, N.A. and PNC Bank, N.A. The credit facility is an unsecured, revolving credit agreement and has a borrowing capacity of up to $300.0 million with the option to increase by an additional $200.0 million subject to certain limitations, including approval by the syndicate of lenders. The credit facility has a maturity date of May 1, 2026.
As of September 26, 2023, we had no outstanding balance on the credit facility and had $287.7 million of availability, net of $12.3 million of outstanding letters of credit. As of December 27, 2022, we had $50.0 million outstanding on the credit facility, which was repaid in 2023 YTD, and $233.5 million of availability, net of $16.5 million of outstanding letters of credit. The outstanding amount as of December 27, 2022 is included as long-term debt on our unaudited condensed consolidated balance sheet.
The interest rate for the credit facility as of September 26, 2023 and September 27, 2022 was 6.19% and 3.69%, respectively.
The lenders’ obligation to extend credit pursuant to the credit facility depends on us maintaining certain financial covenants. We were in compliance with all financial covenants as of September 26, 2023.
Guarantees
As of September 26, 2023 and December 27, 2022, we were contingently liable for $10.6 million and $11.3 million, respectively, for seven lease guarantees. These amounts represent the maximum potential liability of future payments under the guarantees. In the event of default, the indemnity and default clauses in our assignment agreements govern our ability to pursue and recover damages incurred. No material liabilities have been recorded as of September 26, 2023 and December 27, 2022 as the likelihood of default was deemed to be less than probable and the fair value of the guarantees is not considered significant.
ITEM 3. QUANTITATIVE AND QUALITATIVE DISCLOSURES ABOUT MARKET RISK
We are exposed to market risk from changes in interest rates on variable rate debt and changes in commodity prices. Our exposure to interest rate fluctuations is limited to our outstanding bank debt. The terms of the revolving credit facility (the "credit facility") require us to pay interest on outstanding borrowings at the Secured Overnight Financing Rate ("SOFR"), plus a fixed adjustment of 0.10%, plus a variable adjustment of 0.875% to 1.875% depending on our leverage ratio. As of September 26, 2023, we had no outstanding borrowings on our credit facility.
In an effort to secure high quality, low-cost ingredients used in the products sold in our restaurants, we employ various purchasing and pricing contract techniques. When purchasing certain types of commodities, we may be subject