Other real estate owned with a cost basis of $0.1 million and $0.6 million was sold during the years ended December 31, 2018 and 2017, respectively, resulting in a net loss of $24,000 and a net gain of $27,000 for the respective period, compared to a cost basis of $0.5 million and a net gain of $13,000 for the year ended December 31, 2016.