s6y AGNC Investment Corp. S-3/A

AGNC Investment Corp. S-3/A, filed May 18, 2010: Consent of experts

Exhibit 23.2

Consent of Independent Registered Public Accounting Firm

We consent to the reference to our firm under the caption “Experts” in Pre-Effective Amendment No. 2 to the Registration Statement (Form S-3 No. 333-166199) and related Prospectus of American Capital Agency Corp. for the registration of 10,000,000 shares of its common stock and to the incorporation by reference therein of our reports dated February 24, 2010, with respect to the consolidated financial statements of American Capital Agency Corp., and the effectiveness of internal control over financial reporting of American Capital Agency Corp., included in its Annual Report (Form 10-K) for the year ended December 31, 2009, filed with the Securities and Exchange Commission.

/s/ Ernst & Young LLP

 

McLean, Virginia

May 17, 2010