Loans Held for Investment and Allowance for Loan Losses | Loans Held for Investment and Allowance for Loan Losses Loans held for investment consisted of the following as of June 30, 2016 and December 31, 2015 (in thousands): June 30, 2016 December 31, 2015 Term loans $ 697,862 $ 482,596 Lines of credit 92,559 61,194 Total unpaid principal balance 790,421 543,790 Net deferred origination costs 13,977 8,952 Total loans held for investment $ 804,398 $ 552,742 On June 15, 2016, we paid $6.7 million to purchase term loans that we previously sold to a third party which are included in the unpaid principal balance of loans held for investment on the unaudited condensed consolidated balance sheets at June 30, 2016 . We include both loans we originate and loans funded by our issuing bank partners and later purchased by us as part of our originations. During the three months ended June 30, 2016 and 2015 , we purchased such loans in the amount of $130.2 million and $48.8 million , respectively. During the six months ended June 30, 2016 and 2015 , we purchased such loans in the amount of $233.7 million and $103.4 million , respectively. The activity in the allowance for loan losses for the three and six months ended June 30 , 2016 and 2015 consisted of the following (in thousands): Three Months Ended June 30, Six Months Ended June 30, 2016 2015 2016 2015 Balance at beginning of period $ 61,707 $ 56,795 $ 53,311 $ 49,804 Provision for loan losses 32,271 15,526 57,708 38,626 Loans charged off (21,625 ) (21,155 ) (40,143 ) (39,014 ) Recoveries of loans previously charged off 1,496 1,886 2,973 3,636 Allowance for loan losses at end of period $ 73,849 $ 53,052 $ 73,849 $ 53,052 When loans are charged-off, we may continue to attempt to recover amounts from the respective borrowers and guarantors or pursue our rights through formal legal action. Alternatively, we may sell such previously charged-off loans to a third-party debt collector. The proceeds from these sales are recorded as a component of the recoveries of loans previously charged off. For the three months ended June 30, 2016 and 2015 , previously charged-off loans sold accounted for $0.9 million and $1.3 million , respectively, of recoveries of loans previously charged off. For the six months ended June 30, 2016 and 2015 , previously charged-off loans sold accounted for $1.9 million and $2.8 million , respectively, of recoveries of loans previously charged off. As of June 30, 2016 and December 31, 2015 , our off-balance sheet credit exposure related to the undrawn line of credit balances was $127.6 million and $89.1 million , respectively. The related accrual for unfunded loan commitments was $3.6 million and $4.2 million as of June 30, 2016 and December 31, 2015 , respectively. Net adjustments to the accrual for unfunded loan commitments are included in general and administrative expenses. The following table contains information, on a combined basis, regarding the unpaid principal balance of loans we originated and the amortized cost of loans purchased from other than an issuing bank partner related to non-delinquent, paying delinquent and non-paying delinquent loans as of June 30, 2016 and December 31, 2015 (in thousands): June 30, 2016 December 31, 2015 Non-delinquent loans $ 727,664 $ 486,729 Delinquent: paying (accrual status) 29,506 28,192 Delinquent: non-paying (non-accrual status) 33,251 28,869 Total $ 790,421 $ 543,790 The portion of the allowance for loan losses attributable to non-delinquent loans was $42.1 million and $27.0 million , as of June 30, 2016 and December 31, 2015 , respectively, while the portion of the allowance for loan losses attributable to delinquent loans was $31.7 million and $26.3 million as of June 30, 2016 and December 31, 2015 , respectively. The following table contains information, on a combined basis, regarding the unpaid principal balance of loans we originated and the amortized cost of loans purchased from other than an issuing bank partner by delinquency status as of June 30, 2016 and December 31, 2015 (in thousands): June 30, 2016 December 31, 2015 By delinquency status: Non-delinquent loans $ 727,664 $ 486,729 1-14 calendar days past due 20,777 21,360 15-29 calendar days past due 11,141 8,703 30-59 calendar days past due 13,563 10,347 60-89 calendar days past due 9,197 7,443 90 + calendar days past due 8,079 9,208 Total unpaid principal balance $ 790,421 $ 543,790 |