Jon Yoder
Analyst · Finian O'Shea with Wells Fargo
All right, great, thanks, Brendan. During the second quarter, fixed income markets were generally stable and transaction volumes modestly increased compared to the first quarter. However, we witnessed a decline in rates as expectations grew throughout the quarter that the Fed would begin easing monetary conditions. We believe the Fed's recent action to cut rates is driven in part by fears and some evidence of a slowdown in global trade. However, within the U.S. middle market, fundamentals remain solid with continued quarterly year-over-year revenue and EBITDA growth.
Furthermore, we believe the U.S. middle market is more insulated from the global trade tensions faced by larger multinational companies, as most middle-market sized companies are producing goods and services in the U.S. for consumption in the U.S. Against this backdrop, the market to provide capital remains competitive, whether in private debt, or frankly, other asset classes. To navigate this environment, we are focused on lending opportunities with companies in the core of the middle market.
These are companies that are large enough to be scaled in institutional not quite large enough to tap into the syndicated capital markets for their borrowing needs. In our view, the lower-middle market is generally not offering enough incremental return to compensate us for the risk of lending to smaller companies. While upper middle market companies have significant negotiating leverage with private lenders, given they generally have the option of borrowing in the syndicated capital markets where covenants are rare, due diligence is limited, and spreads are tight.
One example that illustrates this dynamic is our investment in Datto which was repaid in full this quarter as a result of a refinancing provided by the syndicated capital markets. Datto provides business continuity and disaster recovery software, hardware, and services to protect essential data for small and mid-sized businesses.
During the fourth quarter of 2017, we let our first lien unitranche facility to finance the acquisition of Datto and its subsequent merger with Autotask, a SaaS-based business that deepened the company's product breadth and competitive positioning. The capital we provided also enabled the company to reinvest in sales and marketing which was strategically important, given the company's high growth model. At the time we made this loan, the company was smaller and preferred a private direct loan led by our platform.
Our first lien term loan was priced at LIBOR plus 800 basis points with financial maintenance covenants, call protection over a 3 year period and 2 points of OID. The company grew significantly following our investments, and in April, Datto was able to refinance our loan to take advantage of more borrower-friendly terms available to them in the broadly syndicated loan markets. For example, the rate was decreased by 375 basis points, financial maintenance covenants were limited and call protection and OID were reduced meaningfully. The difference in the terms and structure between the deal we privately negotiated and the syndicated deal leads to the advantages of focusing on private transactions for companies in the core of the middle market.
Turning to specific investment activity for the quarter, new investment commitments and fundings were $117.3 million and $165.5 million respectively, which included net fundings of $60.9 million of previously unfunded commitments. 100% of new investment commitments were in first lien, floating rate debt investments. These new investment commitments were across 5 new portfolio companies and 7 existing portfolio companies.
Sales and repayment activity totaled $154.6 million, driven by the full repayment of investments in 6 portfolio companies. As previously discussed, the dissolution of our Senior Credit Fund joint venture partnership during the second quarter was completed. In connection with this, the Company received its pro rata portion of the SCF investments, which are now reflected directly on our balance sheet.
Regarding portfolio composition, as of June 30, 2019 total investments in our portfolio were $1,533.7 million at fair value, comprised of 92.9% senior secured loans, including 67.8% in first-lien, 6.6% in first lien/last out unitranche, and 18.5% in second lien debt, as well as 0.5% in unsecured debt and 6.6% in preferred and common stock.
We also had $74.7 million of unfunded commitments as of June 30 bringing total investments and commitments to $1,608.4 million. As of quarter end, the Company had 187 investments across 101 portfolio companies, operating in 37 different industries. The weighted average yield on our investment portfolio at cost, at the end of the second quarter was 8.7% as compared to 9.3% at the end of the first quarter. The weighted average yield of our total debt and income producing investments at cost was 9.8% at the end of Q2 as compared to 10.7% at the end of Q1.
The quarter-over-quarter decline was primarily driven by bringing the low yielding assets on to our balance sheet from the senior credit fund. A lesser contribution was from the decline in LIBOR and some of our higher yielding investments being repaid.
Turning to credit quality, the underlying performance of our portfolio companies overall was stable quarter-over-quarter. The weighted-average net debt-to-EBITDA of the companies in our investment portfolio was 5.5x at quarter end versus 5.3x at the end of the first quarter. The weighted average interest coverage of the companies in our investment portfolio at quarter end was 2.3x, which was modestly up from the prior quarter at 2.2x.
I will now turn the call over to Jonathan, to walk through our financial results.