EX-99.(N)(4) 4 a2229361zex-99_n4.htm EX-99.(N)(4)

Exhibit (n)(4)

Consent of Independent Registered Public Accounting Firm

We consent to the use of our reports dated February 16, 2016, with respect to the consolidated financial statements of American Capital, Ltd. as of December 31, 2015, and for each of the three years in the period ended December 31, 2015, the consolidated financial highlights for each of the five years in the period ended December 31, 2015, the schedule of investments in and advances to affiliates as of and for the year ended December 31, 2015 and the effectiveness of internal control over financial reporting of American Capital, Ltd., included in the Pre-effective Amendment No. 1 to the Registration Statement (Form N-2 No. 333-212788) and related Prospectus of Ares Capital Corporation for the registration of debt securities up to an aggregate initial offering price of $1,000,000,000.

| /s/ Ernst & Young LLP

McLean, Virginia

August 5, 2016