The following table presents, by type and number of securities, the age of gross unrealized losses and fair value by investment category for securities held to maturity as of the dates presented (dollars in thousands).