Capital gain from the sale of securities