Table:
|  |  | Year Ended December 31, | % Change |
| --- | --- | --- | --- |
| 2019 vs. 2018 | 2019 | 2018 | 2019 vs. 2018 |
| Cost of revenue(1): |  |  |  |
| Cost of SaaS and license revenue | $50,066 | $44,933 | 11% |
| Cost of hardware and other revenue | 133,533 | 100,782 | 32% |
| Total cost of revenue | $183,599 | $145,715 | 26% |
| % of total revenue | 37% | 35% |  |
Paragraphs:
Comparison of Years Ended December 31, 2019 to December 31, 2018
The following tables in this section set forth our selected consolidated statements of operations (in thousands), data for the percentage change and data as a percentage of revenue for the years ended December 31, 2019 and 2018. Certain previously reported amounts in the consolidated statements of operations for the year ended December 31, 2018 have been reclassified to conform to our current presentation to reflect interest income as a separate line item, which was previously included in other income, net.
Cost of Revenue
(1) Excludes amortization and depreciation shown in operating expenses.
The $37.9 million increase in cost of revenue in 2019 as compared to 2018 was the result of a $32.8 million, or 32%, increase in cost of hardware and other revenue and a $5.1 million, or 11%, increase in cost of SaaS and license revenue. Our cost of software license revenue included within cost of SaaS and license revenue decreased $0.4 million to $1.3 million during 2019 as compared to $1.7 million during 2018. The increase in cost of Alarm.com segment hardware and other revenue related primarily to an increase in the number of hardware units shipped in 2019 as compared to 2018. The increase in cost of  corresponding increase in amounts paid to wireless network providers.
Cost of hardware and other revenue as a percentage of hardware and other revenue was 81% and 78% for the years ended December 31, 2019 and 2018, respectively. Cost of SaaS and license revenue as a percentage of SaaS and license revenue was 15% for each of the years ended December 31, 2019 and 2018. Cost of software license revenue as a percentage of software license revenue was 3% and 4% for the years ended December 31, 2019 and 2018, respectively. The increase in cost of hardware and other revenue as a percentage of hardware and other revenue in 2019 as compared to 2018 is a reflection of the mix of product sales during the periods.
Question:
What was the total cost of revenue in 2018?
Answer: $145,715