On December 14, 2022, we entered into a new credit agreement with various financial institutions as lenders and Wells Fargo Bank, N.A. as administrative agent for the lenders (the “New Credit Agreement”). The New Credit Agreement provides for a $620 million unsecured revolving credit facility (the "Revolving Credit Facility") that we can draw upon for working capital and general corporate purposes. Under certain circumstances, we may request an increase to the lending commitments under the Credit Agreement by an aggregate amount of up to $300 million, not to exceed $920 million in total. The New Credit Agreement expires on December 14, 2027.
On December 14, 2022, and in connection with our entry into the New Credit Agreement, we terminated our revolving credit facility under the credit agreement dated April 12, 2011, as amended, (the “2011 Credit Agreement”) with the outstanding borrowings under the 2011 Credit Agreement at the date of its termination rolled over to the New Credit Agreement.
Borrowings outstanding under the Revolving Credit Facility under the New Credit Agreement at February 28, 2023 were $188.0 million and there were approximately $11.2 million of outstanding letters of credit, which reduced the availability under this facility to $420.8 million as of February 28, 2023. There are no other terms or covenants limiting the availability of the Revolving Credit Facility.
As of February 28, 2023, we also had other financing arrangements that did not limit our availability on the Revolving Credit Facility, including outstanding letters of credit of $11.7 million and foreign lines of credit of $9.1 million.
We maintain a Purchase Agreement with Citibank N.A. (“Purchaser”) for the sale, from time to time, of certain accounts receivable due from certain customers (the “Purchase Agreement”). Under the Purchase Agreement, the maximum amount of receivables sold is limited to $150 million and Purchaser may, but is not required to, purchase the eligible receivables we offer to sell. The term of the Purchase Agreement runs through February 22, 2024, however, the Purchase Agreement may also be terminated earlier under certain circumstances. The term of the Purchase Agreement shall be automatically extended for annual terms unless either party provides advance notice that they do not intend to extend the term.
We have no retained interests in the sold receivables, other than limited recourse obligations under certain circumstances, and only perform collection and administrative functions for the Purchaser. We account for these receivable transfers as sales under ASC 860, Transfers and Servicing, and de-recognize the sold receivables from our Condensed Consolidated Balance Sheet.
During the nine-month periods ended February 28, 2023 and 2022, we sold $132.8 million and $225.5 million, respectively, of receivables under the Purchase Agreement and remitted $131.5 million and $246.1 million, respectively, to the Purchaser on their behalf. As of February 28, 2023 and May 31, 2022, we had collected cash of $1.4 million and $5.4 million, respectively, which was not yet remitted to the Purchaser as of those dates and was classified as Restricted cash on our Condensed Consolidated Balance Sheets.
At February 28, 2023, we were in compliance with all financial and other covenants under our financing arrangements.
On December 16, 2021, our Board of Directors authorized a renewal of our stock repurchase program, under which we may repurchase up to $150 million of our common stock with no expiration date. The timing and amount of repurchases are subject to prevailing market conditions and other considerations, including our liquidity and acquisition and other investment opportunities. During the nine-month period ended February 28, 2023, we repurchased 1.2 million shares for an aggregate purchase price of $50.1 million. No repurchases were made during the three-month period ended February 28, 2023. Since inception of the renewal authorization, we have repurchased 2.2 million shares for an aggregate purchase price of $92.4 million and expect to fully utilize the authorization over the next twelve months with repurchases occurring from time to time in open market purchases or privately negotiated transactions at the discretion of management, subject to prevailing market conditions and other considerations, including the Company’s liquidity and investment opportunities.
Cash Flows from Operating Activities
Net cash used in operating activities–continuing operations was $21.5 million in the nine-month period ended February 28, 2023 compared to cash provided of $49.6 million in the prior year period. The decrease from the prior period of $71.1 million was primarily attributable to an $18 million license fee payment to Unison Industries for an amendment of our distribution agreement and increased investments in inventory to support future growth in our aftermarket trading activities.
Net cash used in operating activities–discontinued operations was $0.4 million in the nine-month period ended February 28, 2023, compared to $14.5 million in the prior year period. The decrease from the prior year of $14.1 million was primarily attributable to the payments related to our settlement of the U.S. Department of Justice’s False Claims Act investigation.