circumstances, we may request an increase to the lending commitments under the New 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 2011 Credit Agreement at November 30, 2022 were $198.0 million and there were approximately $11.2 million of outstanding letters of credit, which reduced the availability under this facility to $390.8 million as of November 30, 2022. There are no other terms or covenants limiting the availability of this facility.
As of November 30, 2022, we also had other financing arrangements that did not limit our availability on the revolving credit facility, including outstanding letters of credit of $12.1 million and foreign lines of credit of $9.0 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, 2023, 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 six-month periods ended November 30, 2022 and 2021, we sold $87.2 million and $158.4 million, respectively, of receivables under the Purchase Agreement and remitted $86.1 million and $176.8 million, respectively, to the Purchaser on their behalf. As of November 30, 2022 and May 31, 2022, we had collected cash of $2.2 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 November 30, 2022, 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 six-month period ended November 30, 2022, we repurchased 1.2 million shares for an aggregate purchase price of $50.1 million. 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 by December 31, 2023.
Cash Flows from Operating Activities
Net cash used in operating activities–continuing operations was $38.9 million in the six-month period ended November 30, 2022 compared to cash provided of $33.4 million in the prior year period. The decrease from the prior period of $72.3 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 six-month period ended November 30, 2022 compared to $14.2 million in the prior year period. The decrease from the prior year of $13.8 million was primarily attributable to the payments related to our settlement of the U.S. Department of Justice’s False Claims Act investigation.
Cash Flows from Investing Activities
Net cash used in investing activities was $18.3 million during the six-month period ended November 30, 2022 compared to cash used of $2.7 million in the prior year period. The increase over the prior period was primarily related to proceeds of $7.3 million from the sale of a manufacturing facility formerly used by our Mobility operations and higher expenditures on property and equipment in the current year period.