Table:
|  |  | Year Ended December 31, |  |
| --- | --- | --- | --- |
| Stock-based compensation expense data: | 2019 | 2018 | 2017 |
| Sales and marketing | $2,075 | $1,196 | $561 |
| General and administrative | 6,474 | 4,901 | 2,638 |
| Research and development | 12,054 | 7,332 | 4,214 |
| Total stock-based compensation expense | $20,603 | $13,429 | $7,413 |
Paragraphs:
Note 15. Stock-Based Compensation
Stock-based compensation expense is included in the following line items in the consolidated statements of operations (in thousands):
Question:
What was the General and administrative in 2018?
Answer: 4,901