Table:
|  |  | December 31, |  |  |
| --- | --- | --- | --- | --- |
| (in thousands of $) | 2018 | 2017 | Change | % Change |
| Share of net earnings in Golar Partners | 7,001 | 17,702 | (10,701) | (60)% |
| Impairment of investment in Golar Partners | (149,389) | — | (149,389) | 100% |
| Net loss on deemed disposal of investments in Golar Partners | — | (16,992) | 16,992 | 100% |
| Share of net earnings in other affiliates | 3,711 | 793 | 2,918 | 368% |
|  | (138,677) | 1,503 | (140,180) | (9,327)% |
Paragraphs:
Equity in net earnings of affiliates:
The decrease in the share of net earnings in Golar Partners is as a result of a decrease in the underlying performance of Golar Partners in 2018. As a result, during the year ended December 31, 2018, we recognized an impairment charge of $149.4 million. The year ended December 31, 2017 included a deemed loss on disposal of $17.0 million as a result of a dilution in our holding in Golar Partners due to further issuances of common units by Golar Partners in February 2017. As of December 31, 2018, we held a 32.0% (2017: 31.8%) ownership interest in Golar Partners (including our 2% general partner interest) and 100% of IDRs.
The share of net earnings in other affiliates represents our share of equity in Egyptian Company for Gas Services S.A.E ("ECGS") and Avenir LNG Limited ("Avenir"). During the year ended December 31, 2018 we recognized negative goodwill of $3.8 million in equity in net earnings of affiliates to reflect our bargain purchase of Avenir. Refer to note 14 "Investment in Affiliates" of our consolidated financial statements included herein for further details.
Question:
In which years was the equity in net earnings of affiliates recorded for?