Please answer the given financial question based on the context.
Context: ||Years Ended December 31,||
||2018|2017|
|Interest expense|$(2,085)|$(3,343)|
|Interest income|1,826|1,284|
|Other (expense) income|(2,676)|3,817|
|Total other (expense) income, net|$(2,935)|$1,758|
Results of Operations: Years Ended December 31, 2018, versus Year Ended December 31, 2017 (Amounts in thousands, except percentages and per share amounts): Results of Operations: Years Ended December 31, 2018, versus Year Ended December 31, 2017 (Amounts in thousands, except percentages and per share amounts):
Other income and expense items are summarized in the following table:
Interest expense decreased in the year ended December 31, 2018, versus the same period in 2017 primarily due to lower debt balances, a reduction in interest related to interest rate swaps, and a one-time charge related to a liability that was settled in 2017. Interest income increased due to higher interest rates. Other expense in the year ended December 31, 2018, was driven by foreign currency translation losses mainly due to the appreciation of the U.S. Dollar compared to the Chinese Renminbi and the Euro. Other income in the year ended December 31, 2017 was driven mainly by foreign currency translation gains due to the depreciation of the U.S. Dollar compared to the Chinese Renminbi and the Euro.
Question: What was the interest expense in 2018?
Answer:
(2,085)