On March 13, 2020, we announced that our Board of Directors approved a share repurchase program in an aggregate amount of up to $7.0 million. Repurchases under the program could be made in the open market or through privately-negotiated transactions from time to time through March 11, 2022, subject to applicable laws, regulations and contractual provisions. The program could have been amended, suspended or discontinued at any time and did not commit us to repurchase any shares of our common stock. During the three and nine months ended July 31, 2020, we repurchased $3.1 million and $7.0 million, respectively, in shares of our common stock. As a result of our repurchase of the maximum aggregate amount under the program, this share repurchase program has concluded.
In addition, during the three and nine months ended July 31, 2020, we paid cash dividends to our shareholders of $875,000 and $2.6 million, respectively. Future dividends are subject to approval of our Board of Directors and will depend upon many factors, including our results of operations, financial condition, capital requirements, regulatory and contractual restrictions, our business strategy and other factors deemed relevant by our Board of Directors from time to time.
On December 31, 2018, we and our subsidiary Hurco B.V. entered into the 2018 Credit Agreement with Bank of America, N.A., as the lender, which was subsequently amended on March 13, 2020. The 2018 Credit Agreement provides for an unsecured revolving credit and letter of credit facility in a maximum aggregate amount of $40.0 million. The 2018 Credit Agreement provides that the maximum amount of outstanding letters of credit at any one time may not exceed $10.0 million, the maximum amount of outstanding loans made to our subsidiary Hurco B.V. at any one time may not exceed $20.0 million, and the maximum amount of all outstanding loans denominated in alternative currencies at any one time may not exceed $20.0 million. Under the 2018 Credit Agreement, we and Hurco B.V. are borrowers, and certain of our other subsidiaries are guarantors. The scheduled maturity date of the 2018 Credit Agreement is December 31, 2020.
Borrowings under the 2018 Credit Agreement bear interest at floating rates based on, at our option, either (i) a LIBOR-based rate, or other alternative currency-based rate approved by the lender, plus 0.75% per annum, or (ii) a base rate (which is the highest of (a) the federal funds rate plus 0.50%, (b) the prime rate or (c) the one month LIBOR-based rate plus 1.00%), plus 0.00% per annum. Outstanding letters of credit will carry an annual rate of 0.75%.
The 2018 Credit Agreement contains customary affirmative and negative covenants and events of default, including covenants (1) restricting us from making certain investments, loans, advances and acquisitions (but permitting us to make investments in subsidiaries of up to $10.0 million); (2) restricting us from making certain payments, including (a) cash dividends, except that we may pay cash dividends as long as immediately before and after giving effect to such payment, the sum of the unused amount of the commitments under the 2018 Credit Agreement plus our cash on hand is not less than $10.0 million, and as long as we are not in default before and after giving effect to such dividend payments and (b) payments made to repurchase shares of our common stock, except that we may repurchase shares of our common stock as long as we are not in default before and after giving effect to such repurchases and the aggregate amount of payments made by us for all such repurchases during any fiscal year does not exceed $10.0 million; (3) requiring that we maintain a minimum working capital of $125.0 million; and (4) requiring that we maintain a minimum tangible net worth of $170.0 million. We may use the proceeds from advances under the 2018 Credit Agreement for general corporate purposes.
In March 2019, our wholly-owned subsidiaries in Taiwan, HML, and China, NHML, closed on uncommitted revolving credit facilities with maximum aggregate amounts of 150 million New Taiwan Dollars and 32.5 million Chinese Yuan, respectively. As uncommitted facilities, both the Taiwan and China credit facilities are subject to review and termination by the respective underlying lending institution from time to time.
As of July 31, 2020, our existing credit facilities consisted of our €1.5 million revolving credit facility in Germany, the 150 million New Taiwan Dollars Taiwan credit facility, the 32.5 million Chinese Yuan China credit facility and the $40.0 million revolving credit facility under the 2018 Credit Agreement. We had no debt or borrowings under any of our credit facilities at July 31, 2020.
At July 31, 2020, we had an aggregate of $51.5 million available for borrowing under our credit facilities and were in compliance with all covenants relating thereto.
We have an international cash pooling strategy that generally provides access to available cash deposits and credit facilities when needed in the U.S., Europe or Asia Pacific. We believe our access to cash pooling and our borrowing capacity under our credit facilities provide adequate liquidity to fund our global operations over the next twelve months and allow us to remain committed to our strategic plan of product innovation, acquisitions, targeted penetration of developing markets, payment of dividends and our stock repurchase program.