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