Table:
|  | December 31, |  |
| --- | --- | --- |
|  | 2019 | 2018 |
| Cash and cash equivalents | $121,398 | $148,502 |
| Availability under revolving credit facility | 261,000 | 500,000 |
| Total liquidity | $382,398 | $648,502 |
Paragraphs:
Available Liquidity
The following table sets forth our available liquidity for the periods indicated (in thousands):
The decrease in total liquidity is primarily attributable to $239.0 million of outstanding revolving credit facility borrowings and $48.0 million of payments to purchase property and equipment and software and distribution rights, partially offset by positive operating cash flows.
The Company and Official Payments Corporation, a wholly owned subsidiary, maintain a $140.0 million uncommitted overdraft facility with Bank of America, N.A. The overdraft facility acts as a secured loan under the terms of the Credit Agreement to provide an additional funding mechanism for timing differences that can occur in the bill payment settlement process. As of December 31, 2019, $138.5 million was available.
Cash and cash equivalents consist of highly liquid investments with original maturities of three months or less. As of December 31, 2019, we had $121.4 million in cash and cash equivalents, of which $49.2 million was held by our foreign subsidiaries. If these funds were needed for our operations in the U.S., we may potentially be required to pay foreign and U.S. state income taxes to repatriate these funds. As of December 31, 2019, only the earnings in our Indian foreign subsidiaries are indefinitely reinvested. The earnings of all other foreign entities are no longer indefinitely reinvested. We are also permanently reinvested for outside book/tax basis differences related to foreign subsidiaries. These outside basis differences could reverse through sales of the foreign subsidiaries, as well as various other events, none of which are considered probable as of December 31, 2019.
Question:
What was the cash and cash equivalents in 2019?