Exhibit (n) (1)
Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the captions “Selected Financial and Other Data”, “Senior Securities” and “Independent Registered Public Accounting Firm” and to the use of our reports dated December 27, 2006, in Amendment No. 2 to the Registration Statement (Form N-2) No. 333-138418 and related Prospectus of Triangle Capital Corporation dated February 5, 2007.
/s/ Ernst & Young LLP
Raleigh, North Carolina
February 2, 2007.