Table:
|  | Year Ended December 31, |  |  | 2019 % | 2018 % |
| --- | --- | --- | --- | --- | --- |
| (In thousands) | 2019 | 2018 | 2017 | Change from 2018 | Change from 2017 |
| Loss from discontinued operations | $ 0 | $(72,836) | $(11,915) | (100.0%) | NM |
| Gain on sale of Netsmart | $ 0 | 500,471 | 0 | (100.0%) | NM |
| Income tax effect on discontinued operations | $ 0 | (32,497) | 42,263 | (100.0%) | (176.9%) |
| Income (loss) from discontinued operations, net of tax | $ 0 | $395,138 | $30,348 | (100.0%) | NM |
Paragraphs:
Discontinued Operations
Year Ended December 31, 2019 Compared with the Years Ended December 31, 2018 and 2017
On December 31, 2018, we sold all of the Class A Common Units of Netsmart owned by the Company. 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 now reported as a discontinued operation as a result of the sale for all periods presented. The loss from discontinued operations represents the net of losses incurred by Netsmart for the years ended December 31, 2018 and 2017 partly offset by earnings attributable to two solutions acquired during the fourth quarter of 2017 as part of the EIS Business that we no longer support effective as of March 31, 2018. Refer to Note 17, “Discontinued Operations” to our consolidated financial statements included in Part II, Item 8, “Financial Statements and Supplementary Data” of this Form 10-K for additional information regarding discontinued operations.
Question:
What was the Gain on sale of Netsmart in 2018?