investment in UFS was $10,005,000 and $8,947,000 at December 31, 2018 and 2017, respectively. The investment is accounted for on the equity method. The Corporation’s undistributed earnings from its investment in UFS were approximately $2,563,000, $2,390,000, and $2,133,000 for the years ended December 31, 2018, 2017 and 2016, respectively. Data processing service fees paid by the Corporation to UFS were approximately $2,514,000, $2,069,000, and $1,563,000 for the years ended December 31, 2018, 2017 and 2016, respectively.
The Corporation has a contract with UFS that was renewed for five years on January 1, 2018.
The Corporation’s proportionate share of earnings of UFS flow through to its tax return. Deferred income taxes of approximately $939,000 and $679,000 were provided to account for the difference in the tax and book basis of assets and liabilities held at UFS at December 31, 2018 and 2017, respectively. During 2018, 2017 and 2016, the Corporation received $1,505,000, $915,000 and $814,000 in dividends from UFS, respectively.
TVG, the insurance subsidiary of the Bank, has a 30.0% investment in Ansay. Ansay is a family-owned independent insurance agency that has operated in Wisconsin since 1946, managing the insurance and risk needs of commercial and personal insurance clients in Wisconsin and the Midwest. As of December 31, 2018 and 2017, Ansay had total assets of $63,951,000 and $43,339,000 and liabilities of $45,289,000 and $26,356,000, respectively. The Corporation’s investment in Ansay, which is accounted for using the equity method, was $15,392,000 and $12,568,000 at December 31, 2018 and 2017, respectively. The Corporation recognized undistributed earnings of approximately $1,984,000, $1,663,000 and $1,538,000 and received dividends of $1,432,000, $964,000 and $933,000 from its investment in Ansay during the years ended December 31, 2018, 2017 and 2016, respectively.
As of December 31, 2018 and 2017, Ansay had term loans with the Bank totaling approximately $21,799,000 and $14,100,000, respectively. Ansay has an available revolving line of credit of $1.0 million with the Bank with no amounts outstanding as of December 31, 2018 and 2017.
Ansay maintained deposits at the Bank totaling $6,009,000 and $6,919,000 as of December 31, 2018 and 2017, respectively.
The CEO of Ansay, Michael G. Ansay, serves as Chairman of the Board of the Corporation. As a related party, during 2018, 2017 and 2016 the Corporation purchased director and officer fidelity bond and commercial insurance coverage through Ansay spending approximately $165,000, $164,000 and $129,000, respectively.
The Corporation’s proportionate share of earnings of Ansay flow through to its tax return. Deferred income taxes of approximately $1,299,000 and $696,000 were provided to account for the difference in the tax and book basis of assets and liabilities held at Ansay as of December 31, 2018 and 2017, respectively.
Note 10 Intangible Assets
The gross carrying amount and accumulated amortization of intangible assets (excluding goodwill) for the years ended December 31 are as follows (dollar amounts in thousands):
| | | 2018 | | | 2017 | |
| | | Gross Carrying Amount | | | Intangible Accumulated Amortization | | | Gross Carrying Amount | | | Intangible Accumulated Amortization | |
Core deposit intangible | | | | $ | 3,097 | | | | | $ | 885 | | | | | $ | 3,097 | | | | | $ | 129 | | |
Mortgage servicing rights | | | | | 3,085 | | | | | | — | | | | | | 2,610 | | | | | | — | | |
Totals | | | | $ | 6,182 | | | | | $ | 885 | | | | | $ | 5,707 | | | | | $ | 129 | | |
Amortization expense was approximately $756,000, $132,000 and $18,000 for the years ended December 31, 2018, 2017 and 2016, respectively.