XML 39 R28.htm IDEA: XBRL DOCUMENT
v3.20.2

LOANS (Tables) | 9 Months Ended
--- | ---
Sep. 30, 2020
LOANS |
Summary of loans | Summary of Loans by Type (In Thousands) ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | September 30, |  | December 31,
​ | ​ | 2020 | ​ | 2019
Residential mortgage: |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 541,827 | ​ | $ | 510,641
Residential mortgage loans - junior liens | ​ |  | 27,907 | ​ |  | 27,503
Home equity lines of credit | ​ |  | 40,143 | ​ |  | 33,638
1-4 Family residential construction | ​ |  | 29,146 | ​ |  | 14,798
Total residential mortgage | ​ |  | 639,023 | ​ |  | 586,580
Commercial: | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ |  | 530,874 | ​ |  | 301,227
Commercial and industrial | ​ |  | 156,169 | ​ |  | 126,374
Small Business Administration - Paycheck Protection Program | ​ | ​ | 163,050 | ​ | ​ | 0
Political subdivisions | ​ |  | 47,883 | ​ |  | 53,570
Commercial construction and land | ​ |  | 41,906 | ​ |  | 33,555
Loans secured by farmland | ​ |  | 11,913 | ​ |  | 12,251
Multi-family (5 or more) residential | ​ |  | 62,330 | ​ |  | 31,070
Agricultural loans | ​ |  | 3,561 | ​ |  | 4,319
Other commercial loans | ​ |  | 17,385 | ​ |  | 16,535
Total commercial | ​ |  | 1,035,071 | ​ |  | 578,901
Consumer | ​ |  | 17,276 | ​ |  | 16,741
Total | ​ |  | 1,691,370 | ​ |  | 1,182,222
Less: allowance for loan losses | ​ |  | (10,753) | ​ |  | (9,836)
Loans, net | ​ | $ | 1,680,617 | ​ | $ | 1,172,386
​
Schedule of quantity and balances of modification | ​
​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Deferrals Remaining
​ | ​ | As of September 30, 2020
(Dollars in Thousands) | ​ | Number | ​ | ​ | ​
​ | ​ | of | ​ | Recorded
​ |  | Loans |  | Investment
COVID-19-related loan modifications: |  |  |  | ​ |
Residential mortgage |  | 16 | ​ | $ | 1,727
Commercial |  | 28 | ​ |  | 39,912
Total |  | 44 | ​ | $ | 41,639
Schedule of adjustments to the initial market rate and credit fair value adjustments recognized | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
​ | ​ | Three Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, | ​ | September 30, | ​ | September 30, | ​ | September 30,
​ | ​ | 2020 | ​ | 2019 | ​ | 2020 | ​ | 2019
Market Rate Adjustment |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Adjustments to gross amortized cost of loans at beginning of period | ​ | $ | (1,103) | ​ | $ | (1,658) | ​ | $ | (1,415) | ​ | $ | 0
Market rate adjustment recorded in acquisition | ​ | ​ | 2,909 | ​ | ​ | 0 | ​ | ​ | 2,909 | ​ | ​ | (1,807)
(Amortization) accretion recognized in interest income | ​ | ​ | (452) | ​ | ​ | 110 | ​ | ​ | (140) | ​ | ​ | 259
Adjustments to gross amortized cost of loans at end of period | ​ | $ | 1,354 | ​ | $ | (1,548) | ​ | $ | 1,354 | ​ | $ | (1,548)
Credit Adjustment on Non-impaired Loans | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Adjustments to gross amortized cost of loans at beginning of period | ​ | $ | (878) | ​ | $ | (1,653) | ​ | $ | (1,216) | ​ | $ | 0
Credit adjustment recorded in acquisition | ​ | ​ | (7,219) | ​ | ​ | 0 | ​ | ​ | (7,219) | ​ | ​ | (1,914)
Accretion recognized in interest income | ​ |  | 970 | ​ |  | 260 | ​ |  | 1,308 | ​ |  | 521
Adjustments to gross amortized cost of loans at end of period | ​ | $ | (7,127) | ​ | $ | (1,393) | ​ | $ | (7,127) | ​ | $ | (1,393)
Schedule of components of the purchase account adjustments related to the PCI loans | ​
​ | ​ | ​ | ​
(In Thousands) | ​ | July 1, 2020
Contractually required principal at acquisition | ​ | $ | 10,114
Non-accretable discount | ​ |  | (2,910)
Expected cash flows | ​ | $ | 7,204
Schedule of PCI loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | September 30, | ​ | December 31,
​ |  | 2020 |  | 2019
Outstanding balance | ​ | $ | 10,453 | ​ | $ | 759
Carrying amount | ​ |  | 7,447 | ​ |  | 441
Schedule of transactions within the allowance for loan losses | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Three Months Ended September 30, 2020 | ​ | June 30, 2020 |  |  | ​ |  |  | ​ |  |  | ​ |  | September 30, 2020
(In Thousands) |  | Balance |  | Charge-offs |  | Recoveries |  | Provision (Credit) |  | Balance
Allowance for Loan Losses: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage loans - first liens | ​ | $ | 3,531 | ​ | $ | 0 | ​ | $ | 26 | ​ | $ | (92) | ​ | $ | 3,465
Residential mortgage loans - junior liens | ​ |  | 365 | ​ |  | 0 | ​ |  | 0 | ​ |  | (7) | ​ |  | 358
Home equity lines of credit | ​ |  | 287 | ​ |  | 0 | ​ |  | 1 | ​ |  | 1 | ​ |  | 289
1-4 Family residential construction | ​ |  | 137 | ​ |  | 0 | ​ |  | 0 | ​ |  | 32 | ​ |  | 169
Total residential mortgage | ​ |  | 4,320 | ​ |  | 0 | ​ |  | 27 | ​ |  | (66) | ​ | ​ | 4,281
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ |  | 2,426 | ​ |  | 0 | ​ |  | 0 | ​ |  | (40) | ​ |  | 2,386
Commercial and industrial | ​ |  | 2,496 | ​ |  | (2,219) | ​ |  | 0 | ​ |  | 1,974 | ​ |  | 2,251
Commercial construction and land | ​ |  | 420 | ​ |  | 0 | ​ |  | 0 | ​ |  | 20 | ​ |  | 440
Loans secured by farmland | ​ |  | 146 | ​ |  | 0 | ​ |  | 0 | ​ |  | (25) | ​ |  | 121
Multi-family (5 or more) residential | ​ |  | 163 | ​ |  | 0 | ​ |  | 0 | ​ |  | 64 | ​ |  | 227
Agricultural loans | ​ |  | 40 | ​ |  | 0 | ​ |  | 0 | ​ |  | (3) | ​ |  | 37
Other commercial loans | ​ |  | 167 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 167
Total commercial | ​ |  | 5,858 | ​ |  | (2,219) | ​ |  | 0 | ​ |  | 1,990 | ​ |  | 5,629
Consumer | ​ |  | 263 | ​ |  | (30) | ​ |  | 8 | ​ |  | 17 | ​ |  | 258
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 11,026 | ​ | $ | (2,249) | ​ | $ | 35 | ​ | $ | 1,941 | ​ | $ | 10,753
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Three Months Ended September 30, 2019 | ​ | June 30, 2020 |  |  | ​ |  |  | ​ |  |  | ​ |  | September 30, 2020
(In Thousands) |  | Balance |  | Charge-offs |  | Recoveries |  | Provision (Credit) |  | Balance
Allowance for Loan Losses: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage: |  | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |
Residential mortgage loans - first liens | ​ | $ | 3,130 | ​ | $ | (50) | ​ | $ | 1 | ​ | $ | 83 | ​ | $ | 3,164
Residential mortgage loans - junior liens | ​ |  | 333 | ​ |  | 0 | ​ |  | 1 | ​ |  | 16 | ​ |  | 350
Home equity lines of credit | ​ |  | 280 | ​ |  | 0 | ​ |  | 1 | ​ |  | 1 | ​ |  | 282
1-4 Family residential construction | ​ |  | 220 | ​ |  | 0 | ​ |  | 0 | ​ |  | 38 | ​ |  | 258
Total residential mortgage | ​ |  | 3,963 | ​ |  | (50) | ​ |  | 3 | ​ |  | 138 | ​ |  | 4,054
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ |  | 1,577 | ​ |  | 0 | ​ |  | 0 | ​ |  | 928 | ​ |  | 2,505
Commercial and industrial | ​ |  | 1,246 | ​ |  | 0 | ​ |  | 3 | ​ |  | 7 | ​ |  | 1,256
Commercial construction and land | ​ |  | 152 | ​ |  | 0 | ​ |  | 0 | ​ |  | 6 | ​ |  | 158
Loans secured by farmland | ​ |  | 102 | ​ |  | 0 | ​ |  | 0 | ​ |  | (1) | ​ |  | 101
Multi-family (5 or more) residential | ​ |  | 150 | ​ |  | 0 | ​ |  | 0 | ​ |  | 5 | ​ |  | 155
Agricultural loans | ​ |  | 42 | ​ |  | 0 | ​ |  | 0 | ​ |  | 7 | ​ |  | 49
Other commercial loans | ​ |  | 119 | ​ |  | 0 | ​ |  | 0 | ​ |  | 1 | ​ |  | 120
Total commercial | ​ |  | 3,388 | ​ |  | 0 | ​ |  | 3 | ​ |  | 953 | ​ |  | 4,344
Consumer | ​ |  | 264 | ​ |  | (66) | ​ |  | 9 | ​ |  | 67 | ​ |  | 274
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 8,200 | ​ | $ | (116) | ​ | $ | 15 | ​ | $ | 1,158 | ​ | $ | 9,257
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | September 30,
Nine Months Ended September 30, 2020 | ​ | 2019 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Provision | ​ | 2020
(In Thousands) | ​ | Balance | ​ | Charge-offs | ​ | Recoveries | ​ | (Credit) | ​ | Balance
Allowance for Loan Losses: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 3,405 | ​ | $ | 0 | ​ | $ | 28 | ​ | $ | 32 | ​ | $ | 3,465
Residential mortgage loans - junior liens | ​ |  | 384 | ​ |  | 0 | ​ |  | 1 | ​ |  | (27) | ​ |  | 358
Home equity lines of credit | ​ |  | 276 | ​ |  | 0 | ​ |  | 3 | ​ |  | 10 | ​ |  | 289
1-4 Family residential construction | ​ |  | 117 | ​ |  | 0 | ​ |  | 0 | ​ |  | 52 | ​ |  | 169
Total residential mortgage | ​ |  | 4,182 | ​ |  | 0 | ​ |  | 32 | ​ |  | 67 | ​ |  | 4,281
Commercial: | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ |  | 1,921 | ​ |  | 0 | ​ |  | 0 | ​ |  | 465 | ​ |  | 2,386
Commercial and industrial | ​ |  | 1,391 | ​ |  | (2,236) | ​ |  | 0 | ​ |  | 3,096 | ​ |  | 2,251
Commercial construction and land | ​ |  | 966 | ​ |  | (107) | ​ |  | 0 | ​ |  | (419) | ​ |  | 440
Loans secured by farmland | ​ |  | 158 | ​ |  | 0 | ​ |  | 0 | ​ |  | (37) | ​ |  | 121
Multi-family (5 or more) residential | ​ |  | 156 | ​ |  | 0 | ​ |  | 0 | ​ |  | 71 | ​ |  | 227
Agricultural loans | ​ |  | 41 | ​ |  | 0 | ​ |  | 0 | ​ |  | (4) | ​ |  | 37
Other commercial loans | ​ |  | 155 | ​ |  | 0 | ​ |  | 0 | ​ |  | 12 | ​ |  | 167
Total commercial | ​ |  | 4,788 | ​ |  | (2,343) | ​ |  | 0 | ​ |  | 3,184 | ​ |  | 5,629
Consumer | ​ |  | 281 | ​ |  | (100) | ​ |  | 35 | ​ |  | 42 | ​ |  | 258
Unallocated | ​ |  | 585 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 9,836 | ​ | $ | (2,443) | ​ | $ | 67 | ​ | $ | 3,293 | ​ | $ | 10,753
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | December 31, |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | September 30,
Nine Months Ended September 30, 2019 | ​ | 2018 | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Provision | ​ | 2019
(In Thousands) | ​ | Balance | ​ | Charge-offs | ​ | Recoveries | ​ | (Credit) | ​ | Balance
Allowance for Loan Losses: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 3,156 | ​ | $ | (133) | ​ | $ | 3 | ​ | $ | 138 | ​ | $ | 3,164
Residential mortgage loans - junior liens | ​ |  | 325 | ​ |  | (24) | ​ |  | 1 | ​ |  | 48 | ​ |  | 350
Home equity lines of credit | ​ |  | 302 | ​ |  | 0 | ​ |  | 5 | ​ |  | (25) | ​ |  | 282
1-4 Family residential construction | ​ |  | 203 | ​ |  | 0 | ​ |  | 0 | ​ |  | 55 | ​ |  | 258
Total residential mortgage | ​ |  | 3,986 | ​ |  | (157) | ​ |  | 9 | ​ |  | 216 | ​ |  | 4,054
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |
Commercial loans secured by real estate | ​ |  | 2,538 | ​ |  | 0 | ​ |  | 0 | ​ |  | (33) | ​ |  | 2,505
Commercial and industrial | ​ |  | 1,553 | ​ |  | (6) | ​ |  | 6 | ​ |  | (297) | ​ |  | 1,256
Commercial construction and land | ​ |  | 110 | ​ |  | 0 | ​ |  | 0 | ​ |  | 48 | ​ |  | 158
Loans secured by farmland | ​ |  | 102 | ​ |  | 0 | ​ |  | 0 | ​ |  | (1) | ​ |  | 101
Multi-family (5 or more) residential | ​ |  | 114 | ​ |  | 0 | ​ |  | 0 | ​ |  | 41 | ​ |  | 155
Agricultural loans | ​ |  | 46 | ​ |  | 0 | ​ |  | 0 | ​ |  | 3 | ​ |  | 49
Other commercial loans | ​ |  | 128 | ​ |  | 0 | ​ |  | 0 | ​ |  | (8) | ​ |  | 120
Total commercial | ​ |  | 4,591 | ​ |  | (6) | ​ |  | 6 | ​ |  | (247) | ​ |  | 4,344
Consumer | ​ |  | 233 | ​ |  | (132) | ​ |  | 31 | ​ |  | 142 | ​ |  | 274
Unallocated | ​ |  | 499 | ​ |  | 0 | ​ |  | 0 | ​ |  | 86 | ​ |  | 585
Total Allowance for Loan Losses | ​ | $ | 9,309 | ​ | $ | (295) | ​ | $ | 46 | ​ | $ | 197 | ​ | $ | 9,257
Schedule of aggregate credit quality classification of outstanding loans by risk | September 30, 2020 (In Thousands) ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Purchased |  | ​ | ​
​ | ​ | ​ | ​ | ​ | Special | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Credit | ​ | ​ | ​
​ | ​ | Pass | ​ | Mention | ​ | Substandard | ​ | Doubtful | ​ | Impaired | ​ | Total
Residential Mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential Mortgage loans - first liens | ​ | $ | 525,833 | ​ | $ | 6,331 | ​ | $ | 9,586 | ​ | $ | 0 | ​ | $ | 77 | ​ | $ | 541,827
Residential Mortgage loans - junior liens | ​ |  | 27,078 | ​ |  | 124 | ​ |  | 570 | ​ |  | 63 | ​ |  | 72 | ​ |  | 27,907
Home Equity lines of credit | ​ |  | 39,408 | ​ |  | 59 | ​ |  | 676 | ​ |  | 0 | ​ |  | 0 | ​ |  | 40,143
1-4 Family residential construction | ​ |  | 29,146 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 29,146
Total residential mortgage | ​ |  | 621,465 | ​ |  | 6,514 | ​ |  | 10,832 | ​ |  | 63 | ​ |  | 149 | ​ |  | 639,023
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ |  | 508,540 | ​ |  | 7,920 | ​ |  | 10,072 | ​ |  | 0 | ​ |  | 4,342 | ​ |  | 530,874
Commercial and Industrial | ​ |  | 142,181 | ​ |  | 9,495 | ​ |  | 2,905 | ​ |  | 802 | ​ |  | 786 | ​ |  | 156,169
Small Business Administration - Paycheck Protection Program | ​ | ​ | 163,050 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 163,050
Political subdivisions | ​ |  | 47,883 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 47,883
Commercial construction and land | ​ |  | 41,659 | ​ |  | 198 | ​ |  | 49 | ​ |  | 0 | ​ |  | 0 | ​ |  | 41,906
Loans secured by farmland | ​ |  | 10,231 | ​ |  | 453 | ​ |  | 1,229 | ​ |  | 0 | ​ |  | 0 | ​ |  | 11,913
Multi-family (5 or more) residential | ​ |  | 56,507 | ​ |  | 2,420 | ​ |  | 1,233 | ​ |  | 0 | ​ |  | 2,170 | ​ |  | 62,330
Agricultural loans | ​ |  | 2,959 | ​ |  | 0 | ​ |  | 602 | ​ |  | 0 | ​ |  | 0 | ​ |  | 3,561
Other commercial loans | ​ |  | 17,385 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,385
Total commercial | ​ |  | 990,395 | ​ |  | 20,486 | ​ |  | 16,090 | ​ |  | 802 | ​ |  | 7,298 | ​ |  | 1,035,071
Consumer | ​ |  | 17,184 | ​ |  | 0 | ​ |  | 92 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,276
Totals | ​ | $ | 1,629,044 | ​ | $ | 27,000 | ​ | $ | 27,014 | ​ | $ | 865 | ​ | $ | 7,447 | ​ | $ | 1,691,370
Summary of loan balances and the related allowance for loan losses | September 30, 2020 (In Thousands) ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Loans: | ​ | Allowance for Loan Losses:
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Purchased | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Individually | ​ | Collectively | ​ | Performing | ​ | ​ | ​ | ​ | Individually | ​ | Collectively | ​ |  | ​
​ |  | Evaluated |  | Evaluated |  | Loans |  | Totals |  | Evaluated |  | Evaluated |  | Totals
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 2,238 | ​ | $ | 380,348 | ​ | $ | 159,241 | ​ | $ | 541,827 | ​ | $ | 9 | ​ | $ | 3,456 | ​ | $ | 3,465
Residential mortgage loans - junior liens | ​ |  | 424 | ​ |  | 21,777 | ​ |  | 5,706 | ​ |  | 27,907 | ​ |  | 161 | ​ |  | 197 | ​ |  | 358
Home equity lines of credit | ​ |  | 85 | ​ |  | 30,368 | ​ |  | 9,690 | ​ |  | 40,143 | ​ |  | 0 | ​ |  | 289 | ​ |  | 289
1-4 Family residential construction | ​ |  | 0 | ​ |  | 18,946 | ​ |  | 10,200 | ​ |  | 29,146 | ​ |  | 0 | ​ |  | 169 | ​ |  | 169
Total residential mortgage | ​ |  | 2,747 | ​ |  | 451,439 | ​ |  | 184,837 | ​ |  | 639,023 | ​ |  | 170 | ​ |  | 4,111 | ​ |  | 4,281
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ |  | 12,242 | ​ |  | 190,045 | ​ |  | 328,587 | ​ |  | 530,874 | ​ |  | 410 | ​ |  | 1,976 | ​ |  | 2,386
Commercial and industrial | ​ |  | 1,367 | ​ |  | 119,401 | ​ |  | 35,401 | ​ |  | 156,169 | ​ |  | 71 | ​ |  | 2,180 | ​ |  | 2,251
Small Business Administration - Paycheck Protection Program | ​ |  | 0 | ​ |  | 99,310 | ​ |  | 63,740 | ​ |  | 163,050 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Political subdivisions | ​ |  | 0 | ​ |  | 47,883 | ​ |  | 0 | ​ |  | 47,883 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Commercial construction and land | ​ |  | 0 | ​ |  | 41,906 | ​ |  | 0 | ​ |  | 41,906 | ​ |  | 0 | ​ |  | 440 | ​ |  | 440
Loans secured by farmland | ​ |  | 85 | ​ |  | 11,505 | ​ |  | 323 | ​ |  | 11,913 | ​ |  | 0 | ​ |  | 121 | ​ |  | 121
Multi-family (5 or more) residential | ​ |  | 2,171 | ​ |  | 16,754 | ​ |  | 43,405 | ​ |  | 62,330 | ​ |  | 0 | ​ |  | 227 | ​ |  | 227
Agricultural loans | ​ |  | 0 | ​ |  | 3,561 | ​ |  | 0 | ​ |  | 3,561 | ​ |  | 0 | ​ |  | 37 | ​ |  | 37
Other commercial loans | ​ |  | 0 | ​ |  | 15,895 | ​ |  | 1,490 | ​ |  | 17,385 | ​ |  | 0 | ​ |  | 167 | ​ |  | 167
Total commercial | ​ |  | 15,865 | ​ |  | 546,260 | ​ |  | 472,946 | ​ |  | 1,035,071 | ​ |  | 481 | ​ |  | 5,148 | ​ |  | 5,629
Consumer | ​ |  | 0 | ​ |  | 16,918 | ​ |  | 358 | ​ |  | 17,276 | ​ |  | 0 | ​ |  | 258 | ​ |  | 258
Unallocated | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | 585
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 18,612 | ​ | $ | 1,014,617 | ​ | $ | 658,141 | ​ | $ | 1,691,370 | ​ | $ | 651 | ​ | $ | 9,517 | ​ | $ | 10,753
​ December 31, 2019 (In Thousands) ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ |  | Loans: | ​ | Allowance for Loan Losses:
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Purchased | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Individually | ​ | Collectively | ​ | Performing | ​ | ​ | ​ | ​ | Individually | ​ | Collectively | ​ |  | ​
​ |  | Evaluated |  | Evaluated |  | Loans |  | Totals |  | Evaluated |  | Evaluated |  | Totals
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 1,023 | ​ | $ | 405,186 | ​ | $ | 104,432 | ​ | $ | 510,641 | ​ | $ | 0 | ​ | $ | 3,405 | ​ | $ | 3,405
Residential mortgage loans - junior liens | ​ |  | 368 | ​ |  | 24,730 | ​ |  | 2,405 | ​ |  | 27,503 | ​ |  | 176 | ​ |  | 208 | ​ |  | 384
Home equity lines of credit | ​ |  | 0 | ​ |  | 32,147 | ​ |  | 1,491 | ​ |  | 33,638 | ​ |  | 0 | ​ |  | 276 | ​ |  | 276
1-4 Family residential construction | ​ |  | 0 | ​ |  | 14,640 | ​ |  | 158 | ​ |  | 14,798 | ​ |  | 0 | ​ |  | 117 | ​ |  | 117
Total residential mortgage | ​ |  | 1,391 | ​ |  | 476,703 | ​ |  | 108,486 | ​ |  | 586,580 | ​ |  | 176 | ​ |  | 4,006 | ​ |  | 4,182
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ |  | 684 | ​ |  | 198,532 | ​ |  | 102,011 | ​ |  | 301,227 | ​ |  | 0 | ​ |  | 1,921 | ​ |  | 1,921
Commercial and industrial | ​ |  | 1,467 | ​ |  | 122,313 | ​ |  | 2,594 | ​ |  | 126,374 | ​ |  | 149 | ​ |  | 1,242 | ​ |  | 1,391
Political subdivisions | ​ |  | 0 | ​ |  | 53,570 | ​ |  | 0 | ​ |  | 53,570 | ​ |  | 0 | ​ |  | 0 | ​ |  | 0
Commercial construction and land | ​ |  | 1,261 | ​ |  | 29,710 | ​ |  | 2,584 | ​ |  | 33,555 | ​ |  | 678 | ​ |  | 288 | ​ |  | 966
Loans secured by farmland | ​ |  | 607 | ​ |  | 11,386 | ​ |  | 258 | ​ |  | 12,251 | ​ |  | 48 | ​ |  | 110 | ​ |  | 158
Multi-family (5 or more) residential | ​ |  | 0 | ​ |  | 10,617 | ​ |  | 20,453 | ​ |  | 31,070 | ​ |  | 0 | ​ |  | 156 | ​ |  | 156
Agricultural loans | ​ |  | 76 | ​ |  | 4,243 | ​ |  | 0 | ​ |  | 4,319 | ​ |  | 0 | ​ |  | 41 | ​ |  | 41
Other commercial loans | ​ |  | 0 | ​ |  | 15,947 | ​ |  | 588 | ​ |  | 16,535 | ​ |  | 0 | ​ |  | 155 | ​ |  | 155
Total commercial | ​ |  | 4,095 | ​ |  | 446,318 | ​ |  | 128,488 | ​ |  | 578,901 | ​ |  | 875 | ​ |  | 3,913 | ​ |  | 4,788
Consumer | ​ |  | 0 | ​ |  | 16,741 | ​ |  | 0 | ​ |  | 16,741 | ​ |  | 0 | ​ |  | 281 | ​ |  | 281
Unallocated | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | 585
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Total | ​ | $ | 5,486 | ​ | $ | 939,762 | ​ | $ | 236,974 | ​ | $ | 1,182,222 | ​ | $ | 1,051 | ​ | $ | 8,200 | ​ | $ | 9,836
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Summary of information related to purchased credit impaired loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | September 30, 2020 | ​ | December 31, 2019
​ | ​ | Unpaid | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Unpaid | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Principal | ​ | Recorded | ​ | Related | ​ | Principal | ​ | Recorded | ​ | Related
​ |  | Balance |  | Investment |  | Allowance |  | Balance |  | Investment |  | Allowance
With no related allowance recorded: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 1,084 | ​ | $ | 1,034 | ​ | $ | 0 | ​ | $ | 645 | ​ | $ | 617 | ​ | $ | 0
Residential mortgage loans - junior liens | ​ |  | 167 | ​ |  | 112 | ​ |  | 0 | ​ |  | 42 | ​ |  | 42 | ​ |  | 0
Home equity lines of credit | ​ | ​ | 151 | ​ | ​ | 85 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Commercial loans secured by real estate | ​ |  | 7,570 | ​ |  | 5,745 | ​ |  | 0 | ​ |  | 684 | ​ |  | 684 | ​ |  | 0
Commercial and industrial | ​ |  | 1,732 | ​ |  | 1,295 | ​ |  | 0 | ​ |  | 563 | ​ |  | 563 | ​ |  | 0
Loans secured by farmland | ​ |  | 85 | ​ |  | 85 | ​ |  | 0 | ​ |  | 129 | ​ |  | 129 | ​ |  | 0
Multi-family (5 or more) residential | ​ | ​ | 2,771 | ​ | ​ | 2,171 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Agricultural loans | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 76 | ​ |  | 76 | ​ |  | 0
Total with no related allowance recorded | ​ |  | 13,560 | ​ |  | 10,527 | ​ |  | 0 | ​ |  | 2,139 | ​ |  | 2,111 | ​ |  | 0
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
With a related allowance recorded: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |  | ​ |  |
Residential mortgage loans - first liens | ​ |  | 1,204 | ​ |  | 1,204 | ​ |  | 9 | ​ |  | 406 | ​ |  | 406 | ​ |  | 0
Residential mortgage loans - junior liens | ​ |  | 312 | ​ |  | 312 | ​ |  | 161 | ​ |  | 326 | ​ |  | 326 | ​ |  | 176
Commercial loans secured by real estate | ​ | ​ | 6,497 | ​ | ​ | 6,497 | ​ | ​ | 409 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Commercial and industrial | ​ |  | 72 | ​ |  | 72 | ​ |  | 72 | ​ |  | 904 | ​ |  | 904 | ​ |  | 149
Construction and other land loans | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 1,261 | ​ |  | 1,261 | ​ |  | 678
Loans secured by farmland | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 478 | ​ |  | 478 | ​ |  | 48
Total with a related allowance recorded | ​ |  | 8,085 | ​ |  | 8,085 | ​ |  | 651 | ​ |  | 3,375 | ​ |  | 3,375 | ​ |  | 1,051
Total | ​ | $ | 21,645 | ​ | $ | 18,612 | ​ | $ | 651 | ​ | $ | 5,514 | ​ | $ | 5,486 | ​ | $ | 1,051
Schedule of average balances of impaired loans, excluding purchased credit impaired loans, and interest income recognized | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | Interest Income Recognized on
​ | ​ | Average Investment in Impaired Loans | ​ | Impaired Loans on a Cash Basis
​ | ​ | Three Months Ended | ​ | Nine Months Ended | ​ | Three Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, | ​ | September 30, | ​ | September 30, | ​ | September 30,
​ |  | 2020 | ​ | 2019 | ​ | 2020 |  | 2019 | ​ | 2020 | ​ | 2019 | ​ | 2020 |  | 2019
Residential mortgage: |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  |  | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  |  | ​ |
Residential mortgage loans - first lien | ​ | $ | 2,159 | ​ | $ | 1,057 | ​ | $ | 1,579 | ​ | $ | 997 | ​ | $ | 27 | ​ | $ | 21 | ​ | $ | 70 | ​ | $ | 39
Residential mortgage loans - junior lien | ​ | ​ | 384 | ​ | ​ | 285 | ​ |  | 386 | ​ |  | 289 | ​ | ​ | 5 | ​ | ​ | 8 | ​ |  | 18 | ​ |  | 10
Home equity lines of credit | ​ | ​ | 65 | ​ | ​ | 65 | ​ |  | 65 | ​ |  | 16 | ​ | ​ | 0 | ​ | ​ | 3 | ​ |  | 2 | ​ |  | 3
Total residential mortgage | ​ | ​ | 2,608 | ​ | ​ | 1,407 | ​ |  | 2,030 | ​ |  | 1,302 | ​ | ​ | 32 | ​ | ​ | 32 | ​ |  | 90 | ​ |  | 52
Commercial: | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​
Commercial loans secured by real estate | ​ | ​ | 7,298 | ​ | ​ | 1,738 | ​ |  | 3,779 | ​ |  | 2,371 | ​ | ​ | 65 | ​ | ​ | 49 | ​ |  | 81 | ​ |  | 66
Commercial and industrial | ​ | ​ | 2,235 | ​ | ​ | 1,202 | ​ |  | 3,178 | ​ |  | 1,460 | ​ | ​ | 1 | ​ | ​ | 4 | ​ |  | 21 | ​ |  | 38
Commercial construction and land | ​ | ​ | 49 | ​ | ​ | 0 | ​ |  | 678 | ​ |  | 0 | ​ | ​ | 1 | ​ | ​ | 0 | ​ |  | 14 | ​ |  | 0
Loans secured by farmland | ​ | ​ | 253 | ​ | ​ | 1,359 | ​ |  | 397 | ​ |  | 1,443 | ​ | ​ | 2 | ​ | ​ | 23 | ​ |  | 26 | ​ |  | 42
Agricultural loans | ​ | ​ | 76 | ​ | ​ | 6 | ​ |  | 76 | ​ |  | 481 | ​ | ​ | 2 | ​ | ​ | 0 | ​ |  | 4 | ​ |  | 24
Other commercial loans | ​ | ​ | 0 | ​ | ​ | 50 | ​ |  | 25 | ​ |  | 13 | ​ | ​ | 0 | ​ | ​ | 2 | ​ |  | 1 | ​ |  | 2
Total commercial | ​ | ​ | 9,911 | ​ | ​ | 4,355 | ​ |  | 8,133 | ​ |  | 5,768 | ​ | ​ | 71 | ​ | ​ | 78 | ​ |  | 147 | ​ |  | 172
Consumer | ​ | ​ | 0 | ​ | ​ | 0 | ​ |  | 0 | ​ |  | 4 | ​ | ​ | 0 | ​ | ​ | 0 | ​ |  | 0 | ​ |  | 0
Total | ​ | $ | 12,519 | ​ | $ | 5,762 | ​ | $ | 10,163 | ​ | $ | 7,074 | ​ | $ | 103 | ​ | $ | 110 | ​ | $ | 237 | ​ | $ | 224
Schedule of breakdown by portfolio segment and class of non accrual loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | September 30, 2020 | ​ | December 31, 2019
​ | ​ | Past Due | ​ | ​ | ​ | ​ | Past Due | ​ | ​ | ​
​ | ​ | 90+ Days and | ​ | ​ | ​ | ​ | 90+ Days and | ​ | ​ | ​
​ |  | Accruing |  | Nonaccrual |  | Accruing |  | Nonaccrual
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 1,336 | ​ | $ | 6,354 | ​ | $ | 878 | ​ | $ | 4,679
Residential mortgage loans - junior liens | ​ |  | 56 | ​ |  | 383 | ​ |  | 53 | ​ |  | 326
Home equity lines of credit | ​ |  | 213 | ​ |  | 255 | ​ |  | 71 | ​ |  | 73
1-4 Family residential construction | ​ |  | 0 | ​ |  | 39 | ​ |  | 0 | ​ |  | 0
Total residential mortgage | ​ |  | 1,605 | ​ |  | 7,031 | ​ |  | 1,002 | ​ |  | 5,078
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ |  | 381 | ​ |  | 12,414 | ​ |  | 107 | ​ |  | 1,148
Commercial and industrial | ​ |  | 112 | ​ |  | 955 | ​ |  | 15 | ​ |  | 1,051
Commercial construction and land | ​ |  | 0 | ​ |  | 49 | ​ |  | 0 | ​ |  | 1,311
Loans secured by farmland | ​ |  | 188 | ​ |  | 85 | ​ |  | 43 | ​ |  | 565
Multi-family (5 or more) residential | ​ | ​ | 0 | ​ | ​ | 2,170 | ​ | ​ | 0 | ​ | ​ | 0
Other commercial | ​ |  | 0 | ​ |  | 0 | ​ |  | 0 | ​ |  | 49
Total commercial | ​ |  | 681 | ​ |  | 15,673 | ​ |  | 165 | ​ |  | 4,124
Consumer | ​ |  | 22 | ​ |  | 92 | ​ |  | 40 | ​ |  | 16
Totals | ​ | $ | 2,308 | ​ | $ | 22,796 | ​ | $ | 1,207 | ​ | $ | 9,218
Schedule of amounts shown in the table immediately above include loans classified as debt restructurings and contractual aging of loans | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | As of September 30, 2020 | ​ | As of December 31, 2019
​ |  | Current & |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | Current & |  | ​ | ​ |  | ​ | ​ |  | ​ | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ | ​ | ​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ | ​ | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ | ​ | ​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ | ​ | ​
​ | ​ | 30 Days | ​ | Days | ​ | Days | ​ | Total | ​ | 30 Days | ​ | Days | ​ | Days | ​ | Total
Residential mortgage: |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |  | ​ |
Residential mortgage loans - first liens | ​ | $ | 534,303 | ​ | $ | 2,819 | ​ | $ | 4,705 | ​ | $ | 541,827 | ​ | $ | 499,024 | ​ | $ | 7,839 | ​ | $ | 3,778 | ​ | $ | 510,641
Residential mortgage loans - junior liens | ​ |  | 27,660 | ​ |  | 44 | ​ |  | 203 | ​ |  | 27,907 | ​ |  | 27,041 | ​ |  | 83 | ​ |  | 379 | ​ |  | 27,503
Home equity lines of credit | ​ |  | 39,737 | ​ |  | 145 | ​ |  | 261 | ​ |  | 40,143 | ​ |  | 33,115 | ​ |  | 452 | ​ |  | 71 | ​ |  | 33,638
1-4 Family residential construction | ​ |  | 28,629 | ​ |  | 517 | ​ |  | 0 | ​ |  | 29,146 | ​ |  | 14,758 | ​ |  | 40 | ​ |  | 0 | ​ |  | 14,798
Total residential mortgage | ​ |  | 630,329 | ​ |  | 3,525 | ​ |  | 5,169 | ​ |  | 639,023 | ​ |  | 573,938 | ​ |  | 8,414 | ​ |  | 4,228 | ​ |  | 586,580
​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial: | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  | ​ | ​ |  |  | ​ |  |  | ​ |  |  | ​ |  |
Commercial loans secured by real estate | ​ |  | 525,211 | ​ |  | 867 | ​ |  | 4,796 | ​ |  | 530,874 | ​ |  | 299,640 | ​ |  | 737 | ​ |  | 850 | ​ |  | 301,227
Commercial and industrial | ​ |  | 155,140 | ​ |  | 57 | ​ |  | 972 | ​ |  | 156,169 | ​ |  | 126,221 | ​ |  | 16 | ​ |  | 137 | ​ |  | 126,374
Small Business Administration - Paycheck Protection Program | ​ | ​ | 163,050 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 163,050 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0 | ​ | ​ | 0
Political subdivisions | ​ |  | 47,883 | ​ |  | 0 | ​ |  | 0 | ​ |  | 47,883 | ​ |  | 53,570 | ​ |  | 0 | ​ |  | 0 | ​ |  | 53,570
Commercial construction and land | ​ |  | 41,857 | ​ |  | 49 | ​ |  | 0 | ​ |  | 41,906 | ​ |  | 33,505 | ​ |  | 0 | ​ |  | 50 | ​ |  | 33,555
Loans secured by farmland | ​ |  | 11,654 | ​ |  | 37 | ​ |  | 222 | ​ |  | 11,913 | ​ |  | 11,455 | ​ |  | 666 | ​ |  | 130 | ​ |  | 12,251
Multi-family (5 or more) residential | ​ |  | 62,330 | ​ |  | 0 | ​ |  | 0 | ​ |  | 62,330 | ​ |  | 31,070 | ​ |  | 0 | ​ |  | 0 | ​ |  | 31,070
Agricultural loans | ​ |  | 3,456 | ​ |  | 105 | ​ |  | 0 | ​ |  | 3,561 | ​ |  | 4,318 | ​ |  | 1 | ​ |  | 0 | ​ |  | 4,319
Other commercial loans | ​ |  | 17,385 | ​ |  | 0 | ​ |  | 0 | ​ |  | 17,385 | ​ |  | 16,535 | ​ |  | 0 | ​ |  | 0 | ​ |  | 16,535
Total commercial | ​ |  | 1,027,966 | ​ |  | 1,115 | ​ |  | 5,990 | ​ |  | 1,035,071 | ​ |  | 576,314 | ​ |  | 1,420 | ​ |  | 1,167 | ​ |  | 578,901
Consumer | ​ |  | 17,077 | ​ |  | 87 | ​ |  | 112 | ​ |  | 17,276 | ​ |  | 16,496 | ​ |  | 189 | ​ |  | 56 | ​ |  | 16,741
Totals | ​ | $ | 1,675,372 | ​ | $ | 4,727 | ​ | $ | 11,271 | ​ | $ | 1,691,370 | ​ | $ | 1,166,748 | ​ | $ | 10,023 | ​ | $ | 5,451 | ​ | $ | 1,182,222
Schedule of non accrual loans are included in the contractual aging | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | Current & | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ |  | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ |  | ​
​ |  | 30 Days |  | Days |  | Days |  | Total
September 30, 2020 Nonaccrual Totals | ​ | $ | 12,605 | ​ | $ | 1,228 | ​ | $ | 8,963 | ​ | $ | 22,796
December 31, 2019 Nonaccrual Totals | ​ | $ | 3,840 | ​ | $ | 1,134 | ​ | $ | 4,244 | ​ | $ | 9,218
Schedule of outstanding balance of loans as troubled debt restructurings | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) | ​ | Current & | ​ | ​ | ​ | ​ | ​ | ​ | ​ |  | ​ | ​ |  | ​
​ | ​ | Past Due | ​ | Past Due | ​ | Past Due | ​ |  | ​ | ​ |  | ​
​ | ​ | Less than | ​ | 30-89 | ​ | 90+ | ​ |  | ​ | ​ |  | ​
​ |  | 30 Days |  | Days |  | Days |  | Nonaccrual |  | Total
September 30, 2020 Totals | ​ | $ | 167 | ​ | $ | 91 | ​ | $ | 338 | ​ | $ | 7,441 | ​ | $ | 8,037
December 31, 2019 Totals | ​ | $ | 889 | ​ | $ | 0 | ​ | $ | 0 | ​ | $ | 1,737 | ​ | $ | 2,626
Schedule of loan modifications considered as TDRs | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Three Months Ended | ​ | Three Months Ended
​ | ​ | September 30, 2020 | ​ | September 30, 2019
​ | ​ | Number | ​ | ​ | ​ | Number | ​ | ​
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Residential mortgage - junior liens |  | 0 |  | $ | 0 |  | 1 |  | $ | 18
Commercial loans secured by real estate | ​ | 1 | ​ | ​ | 240 | ​ | 0 | ​ | ​ | 0
Commercial and industrial |  | 0 | ​ | ​ | 0 |  | 9 | ​ | ​ | 431
Agricultural loans | ​ | 0 | ​ | ​ | 0 | ​ | 1 | ​ | ​ | 81
Total |  | 1 | ​ | $ | 240 |  | 12 | ​ | $ | 530
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Nine Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, 2020 | ​ | September 30, 2019
​ | ​ | Number | ​ | ​ | ​ | Number | ​ | ​
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Residential mortgage - junior liens |  | 0 |  | $ | 0 |  | 1 |  | $ | 18
Commercial loans secured by real estate | ​ | 1 | ​ | ​ | 240 | ​ | 0 | ​ | ​ | 0
Commercial and industrial |  | 0 | ​ | ​ | 0 |  | 9 | ​ | ​ | 431
Agricultural loans | ​ | 0 | ​ | ​ | 0 | ​ | 1 | ​ | ​ | 81
Total |  | 1 | ​ | $ | 240 |  | 12 | ​ | $ | 530
Schedule of residential real estate properties as a result of obtaining physical possession | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | September 30, |  | December 31,
​ | ​ | 2020 | ​ | 2019
Foreclosed residential real estate | ​ | $ | 104 | ​ | $ | 292
Schedule of mortgage loans secured by residential real properties | ​
​ | ​ | ​ | ​ | ​ | ​ | ​
(In Thousands) |  | September 30, |  | December 31,
​ | ​ | 2020 | ​ | 2019
Residential real estate in process of foreclosure | ​ | $ | 1,719 | ​ | $ | 1,717
Troubled Debt Restructuring |
LOANS |
Schedule of outstanding balance of loans as troubled debt restructurings | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three Months Ended | ​ | Three Months Ended
​ | ​ | September 30, 2020 | ​ | September 30, 2019
​ | ​ | ​ | ​ | Post- | ​ | ​ | ​ | Post-
​ | ​ | Number | ​ | Modification | ​ | Number | ​ | Modification
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
(Balances in Thousands) | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Commercial loans secured by real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Principal and interest payment deferral non-COVID related |  | 2 |  | $ | 4,831 |  | 0 |  | $ | 0
Extended interest only payments and reduced monthly payments with a balloon payment at maturity |  | 0 |  | ​ | 0 |  | 1 |  | ​ | 1,261
Multi-family (5 or more) residential: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Principal and interest payment deferral non-COVID related | ​ | 3 | ​ | ​ | 2,170 | ​ | 0 | ​ | ​ | 0
Total |  | 5 |  | $ | 7,001 |  | 1 |  | $ | 1,261
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
(Balances in Thousands) | ​ | Nine Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, 2020 | ​ | September 30, 2019
​ |  | ​ |  | Post- |  | ​ |  | Post-
​ | ​ | Number | ​ | Modification | ​ | Number | ​ | Modification
​ | ​ | of | ​ | Recorded | ​ | of | ​ | Recorded
​ | ​ | Loans | ​ | Investment | ​ | Loans | ​ | Investment
Residential mortgage - junior liens: |  |  | ​ |  |  |  |  | ​ |  |
Reduced monthly payments and extended maturity date |  | 0 | ​ | $ | 0 |  | 1 | ​ | $ | 18
New loan at lower than risk-adjusted market rate to borrower from whom short sale of other collateral was accepted |  | 1 | ​ |  | 30 |  | 0 | ​ |  | 0
Commerical loans secured by real estate: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Interest only payments for a nine-month period | ​ | 1 | ​ | ​ | 240 | ​ | 0 | ​ | ​ | 0
Principal and interest payment deferral non-COVID related | ​ | 2 | ​ | ​ | 4,831 | ​ | 0 | ​ | ​ | 0
Extended interest only payments and reduced monthly payments with a balloon payment at maturity | ​ | 0 | ​ | ​ | 0 | ​ | 1 | ​ | ​ | 1,261
Commercial and industrial, |  |  | ​ |  |  |  |  | ​ |  |
Reduced monthly payments and extended maturity date |  | 0 | ​ | ​ | 0 |  | 9 | ​ | ​ | 448
Multi-family (5 or more) residential, | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Principal and interest payment deferral non-COVID related | ​ | 3 | ​ | ​ | 2,170 | ​ | 0 | ​ | ​ | 0
Agricultural loans, |  |  | ​ |  |  |  |  | ​ |  |
Reduced monthly payments and extended maturity date |  | 0 | ​ |  | 0 |  | 1 | ​ |  | 84
Total |  | 7 | ​ | $ | 7,271 |  | 12 | ​ | $ | 1,811
​

X
- Definition Tabular disclosure of contractual aging of nonaccrual loans. + References No definition available. + Details
Name: | cznc_ContractualAgingOfNonaccrualLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure for impaired financing receivables by portfolio segment. + References No definition available. + Details
Name: | cznc_ImpairedFinancingReceivableByPortfolioSegmentTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of loans which have been modified under programs to alleviate the economic impact of the Coronavirus (Covid-19) Outbreak. + References No definition available. + Details
Name: | cznc_LoansModifiedDueToCoronavirusCovid19OutbreakTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of purchased credit impaired loans. + References No definition available. + Details
Name: | cznc_PurchasedCreditImpairedLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of additional information on impaired loans. + References No definition available. + Details
Name: | cznc_ScheduleOfAdditionalInformationOnImpairedLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of components of the purchase account adjustments related to the PCI loans. + References No definition available. + Details
Name: | cznc_ScheduleOfComponentsOfPurchaseAccountAdjustmentsRelatedToPciLoansTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of Mortgage Loans in Process of Foreclosure. + References No definition available. + Details
Name: | cznc_ScheduleOfMortgageLoansInProcessOfForeclosureTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of real estate properties and units acquired through foreclosure. + References No definition available. + Details
Name: | cznc_ScheduleOfRealEstateAcquiredThroughForeclosureTableTextBlock
Namespace Prefix: | cznc_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of allowance for credit loss on financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 11B -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 13 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447 + Details
Name: | us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the reconciliation of contractual cash flows to the carrying amount relating to certain loans acquired in a transfer. + References No definition available. + Details
Name: | us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivables by credit quality indicator. The credit quality indicator is a statistic about the credit quality of financing receivables. Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 29 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953659-111524 + Details
Name: | us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_FinancingReceivableImpairedLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of impaired financing receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 15 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5212-111524 + Details
Name: | us-gaap_ImpairedFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of aging analysis for financing receivable. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 14 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919253-210447 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7A -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953401-111524 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 55 -Paragraph 80 -URI http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524 + Details
Name: | us-gaap_PastDueFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date. Presentation is categorized by current, noncurrent and unclassified receivables. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.3,4) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable on nonaccrual status. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 16 -URI http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447 + Details
Name: | us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of troubled debt restructuring which results when the debtor restructures the terms of its debt with a creditor due to the debtor's financial difficulties and the creditor grants certain concessions to obtain payment it might not otherwise receive. Includes a description of the principal changes in terms, the major features of settlement for each restructuring, the aggregate gain on restructuring and the related income tax effect, the per share amount of the total gain on restructuring, net of related income tax effect, and the total gain (loss) on transfers of assets recognized during the period. After the troubled debt restructuring has occurred debtors discuss the extent and amount to which amounts contingently payable are included in the carrying amount of restructured payables, and the conditions under which those amounts would become payable or would be forgiven when there is at least a reasonable possibility that a liability for contingent payments will be incurred. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 60 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6402221&loc=d3e15743-112638 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 60 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6402221&loc=d3e15765-112638 + Details
Name: | us-gaap_SummaryOfTroubledDebtRestructuringNoteDebtorTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of financing receivable modified as troubled debt restructuring. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 33 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953676-111524 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI http://asc.fasb.org/extlink&oid=121611835&loc=SL6953682-111524 + Details
Name: | us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_ClassOfFinancingReceivableTypeOfBorrowerAxis=cznc_TroubledDebtRestructuringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |