Table:
|  | Year ended December 31, |  |
| --- | --- | --- |
| (In thousands) | 2018 | 2017 |
| Major income and expense line items related to Netsmart: |  |  |
| Revenue: |  |  |
| Software delivery, support and maintenance | $214,065 | $198,204 |
| Client services | 131,166 | 110,430 |
| Total revenue | 345,231 | 308,634 |
| Cost of revenue: |  |  |
| Software delivery, support and maintenance | 60,100 | 51,079 |
| Client services | 94,061 | 78,317 |
| Amortization of software development and acquisition related assets | 34,357 | 29,876 |
| Total cost of revenue | 188,518 | 159,272 |
| Gross profit | 156,713 | 149,362 |
| Selling, general and administrative expenses | 125,807 | 85,583 |
| Research and development | 25,315 | 17,937 |
| Amortization of intangible and acquisition-related assets | 24,029 | 16,409 |
| Income from discontinued operations of Netsmart | (18,438) | 29,433 |
| Interest expense | (59,541) | (49,939) |
| Other income | 101 | 925 |
| Loss from discontinued operations of Netsmart before income taxes | (77,878) | (19,581) |
| Income tax benefit | 22,933 | 45,253 |
| (Loss) income from discontinued operations, net of tax for Netsmart | $(54,945) | $25,672 |
Paragraphs:
Netsmart Discontinued Operation
On December 31, 2018, we sold all of the Class A Common Units of Netsmart held by the Company in exchange for $566.6 million in cash plus a final settlement as determined following the closing.
Prior to the sale, Netsmart comprised a separate reportable segment, which due to its significance to our historical consolidated financial statements and results of operations, is reported as a discontinued operation as a result of the sale. Refer to Note 4, “Business Combinations and Other Investments” for additional information about this transaction.
The following table summarizes Netsmart’s major income and expense line items as reported in the consolidated statements of operations for the years ended December 31, 2018 and 2017:
(1) Activity includes both Netsmart and intercompany transactions that would not have been eliminated if Netsmart’s results were not consolidated.
Question:
What was the Client services revenue in 2018?
Answer: 131,166