s6y Legg Mason Partners Capital Fund, Inc. 485BPOS

Legg Mason Partners Capital Fund, Inc. 485BPOS, filed Nov 30, 2006: Consent of Independent Registerd Public Accounting Firm

Exhibit J

Consent of Independent Registered Public Accounting Firm

The Shareholders and Board of Directors

Legg Mason Partners Capital Fund, Inc.:

We consent to the use of our report, incorporated herein by reference, dated February 22, 2006, for Legg Mason Partners Capital Fund, Inc. (formerly Salomon Brothers Capital Fund Inc), as of December 31, 2005 and to the references to our firm under the headings “Financial highlights” in the Prospectus and “Independent Registered Public Accounting Firm” in the Statement of Additional Information.

LOGO

New York, New York

November 28, 2006