Lending Operations and Accommodations to Borrowers
We actively participated in the Small Business Administration's (“SBA”) Paycheck Protection Program (“PPP”) established under the Coronavirus Aid, Relief and Economic Security Act (“CARES” Act), as amended and extended. Lending under the PPP commenced on April 3, 2020 and the SBA notified lenders that PPP funds were exhausted on or around April 16, 2020. On April 24, 2020, additional funds were allocated to the PPP and were available through August 8, 2020. An additional stimulus package, approved on December 27, 2020, authorized additional PPP funds. While the PPP program ended on May 31, 2021, we continue to assist our customers through the loan forgiveness process.
We originated $201.0 million of PPP loans in 2020, consisting of 1,062 loans with an average loan size of $189 thousand. During the third quarter of 2021, 168 of these loans, with an aggregate principal balance of $39.6 million, were forgiven. Of the PPP loans we originated in 2020, 1,055 loans with an aggregate principal balance of $192.3 million had been forgiven or repaid by borrowers through September 30, 2021, representing 99.3% of the number of PPP loans originated in 2020 and 95.7% of PPP principal balances originated in 2020. Seven PPP loans originated in 2020 totaling $8.7 million were still outstanding at September 30, 2021.
After the relaunch of the program by the SBA on January 19, 2021 and prior to the end of the program on May 31, 2021, we originated $100.5 million of additional PPP loans, consisting of 591 loans with an average loan size of $170 thousand. During the third quarter of 2021, 191 of these loans, with an aggregate principal balance of $24.6 million, were forgiven. Of the PPP loans we originated in 2021, 227 loans with an aggregate principal balance of $27.0 million had been forgiven through September 30, 2021, representing 38.4% of the number of PPP loans originated in 2021 and 26.9% of PPP principal balances originated in 2021. At September 30, 2021, 364 PPP loans originated in 2021, with an aggregate principal balance of $73.5 million, were still outstanding.
We received processing fees from the SBA for the PPP loans originated in 2020 totaling $6.7 million, which were deferred. In addition, we deferred $782 thousand of origination costs attributable to the 2020 PPP originations. We also received processing fees from the SBA for the PPP loans originated in 2021 totaling $4.2 million, which were deferred. In addition, we also deferred $547 thousand of origination costs attributable to the PPP loans originated in 2021. The net deferred fees originally recorded from both 2020 and 2021 PPP originations, totaling $9.6 million, are being accreted as a yield adjustment over the contractual term of the underlying PPP loans, with accretion accelerated upon loan forgiveness.
During the life of the PPP program, we originated a total of 1,653 PPP loans with an aggregate principal balance of $301.5 million. As of September 30, 2021, 1,282 of these loans, with an aggregate principal balance of $219.4 million, have been either forgiven or repaid by borrowers. At September 30, 2021, PPP loans totaled $79.9 million, consisting of 371 PPP loans, with an aggregate principal balance of $82.1 million, less $2.2 million of unaccreted net deferred fees. Included in the September 30, 2021 balance are two loans, with an aggregate principal balance of $451 thousand, which were not fully forgiven and are now amortizing PPP loans. Loans funded through the PPP program are fully guaranteed by the U.S. Government and we expect that substantially all of the remaining loans will ultimately be forgiven by the SBA in accordance with the terms of the program.
PPP lending generated pretax income of $1.6 million, or $0.06 after tax per share, in the third quarter of 2021, and $5.4 million, or $0.21 after tax per share, for the nine months ended September 30, 2021. By comparison, PPP lending generated pretax income of $3.8 million, or $0.16 after tax per share, in the entire year 2020, with $1.1 million, or $0.04 after tax per share, in the third quarter of 2020, and $2.1 million, or $0.08 after tax per share, for the nine months ended September 30, 2020.
In response to the pandemic, we also established client assistance programs, including offering loan modifications, on a case by case basis, in the form of payment deferrals, to both commercial and retail customers as discussed in the “Nonperforming and Problem Assets; COVID-19 Loan Deferrals” section of this Management’s Discussion and Analysis of Financial Condition and Results of Operations (“MD&A”). The CARES Act permits financial institutions to suspend requirements under GAAP for certain loan modifications to borrowers affected by the pandemic that would otherwise be characterized as troubled debt restructurings (“TDR”s). These COVID-19 payment deferrals, if not effective in mitigating the effect of the pandemic on our customers, may adversely affect our business and results of operations in the future.