Table:
|  |  | December 31, |  |  |
| --- | --- | --- | --- | --- |
| (in thousands of $) | 2019 | 2018 | Change | % Change |
| Share in net (loss)/earnings in Golar Partners | (20,050) | 7,001 | (27,051) | (386)% |
| Impairment of investment in Golar Partners | — | (149,389) | 149,389 | 100% |
| Share of net (losses)/earnings in other affiliates | (2,515) | 3,711 | (6,226) | (168)% |
|  | (22,565) | (138,677) | 116,112 | (84)% |
Paragraphs:
Equity in net earnings of affiliates:
As of December 31, 2019, we held a 32.0% (2018: 32.0%) ownership interest in Golar Partners (including our 2% general partner interest) and 100% of the incentive distribution rights ("IDRs"). The decrease in the share of net earnings in Golar Partners is due to a decrease in underlying performance of Golar Partners and fair value adjustment for the year ended December 31, 2019. The decrease in the share of net earnings in Golar Partners is offset by the movement of the impairment charge of $149.4 million recognized for the year ended December 31, 2018.
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?