Exhibit 5.1

 

McGuireWoods LLP

201 North Tryon Street

Charlotte, NC 28202

Phone: 704.343.2000

Fax: 704.343.2300

www.mcguirewoods.com

   LOGO

December 8, 2022

Bank of America Corporation

Bank of America Corporate Center

100 North Tryon Street

Charlotte, North Carolina 28255

BofA Finance LLC

Bank of America Corporate Center

100 North Tryon Street

Charlotte, North Carolina 28255

 

  Re:

Registration Statement on Form S-3

Ladies and Gentlemen:

We have acted as counsel to Bank of America Corporation, a Delaware corporation (“BAC”), and BofA Finance LLC, a Delaware limited liability company (“BofA Finance”), in connection with the Registration Statement on Form S-3 (the “Registration Statement”) being filed with the Securities and Exchange Commission (the “Commission”) by BAC and BofA Finance on or about the date of this opinion letter in connection with the registration under the Securities Act of 1933, as amended (the “Act”), of (i) debt securities of BAC (the “BAC Debt Securities”), (ii) debt securities of BofA Finance (the “BofA Finance Debt Securities” and, together with BAC Debt Securities, the “Debt Securities”) and (iii) the guarantee of the BofA Finance Debt Securities by BAC (the “Guarantee” and, together with the Debt Securities, the “Securities”).

The BAC Debt Securities, which include BAC’s debt securities designated as its Senior Medium-Term Notes, Series P (the “BAC Medium-Term Notes”), will be issued pursuant to that certain Indenture for Senior Debt Securities dated as of June 27, 2018 between BAC, as issuer, and The Bank of New York Mellon Trust Company, N.A., as trustee (as supplemented or amended from time to time, the “BAC Indenture”). The BofA Finance Debt Securities, which include BofA Finance’s debt securities designated as its Senior Medium-Term Notes, Series A (the “BofA Finance Medium-Term Notes” and, together with the BAC Medium-Term Notes, the “Medium-Term Notes”), and the Guarantee, will be issued pursuant to that certain Indenture for Senior Debt Securities dated as of August 23, 2016 among BofA Finance, as issuer, BAC, as guarantor, and The Bank of New York Mellon Trust Company, N.A., as trustee, as supplemented by a First Supplemental Indenture dated as of December 30, 2019 (as so supplemented, and as further supplemented or amended from time to time, the “BofA Finance Indenture” and, together with the BAC Indenture, the “Indentures”).


Bank of America Corporation

BofA Finance LLC

December 8, 2022

Page 2

 

In connection with this opinion letter, we have examined the Registration Statement (including the exhibits being filed therewith and incorporated by reference therein from previous filings made by BAC and BofA Finance with the Commission), the base prospectus relating to the Securities, a prospectus supplement to the base prospectus relating to the BAC Medium-Term Notes (the “BAC Prospectus Supplement”) and a separate prospectus supplement to the base prospectus relating to the BofA Finance Medium-Term Notes and the Guarantee (the “BofA Finance Prospectus Supplement”) (the base prospectus, as supplemented by the BAC Prospectus Supplement, the “BAC Prospectus” and, as supplemented by the BofA Finance Prospectus Supplement, the “BofA Finance Prospectus”), certificates of public officials and of officers of BAC and BofA Finance, and originals or copies of such other records, documents and instruments as we have deemed necessary for the purposes of this opinion letter, including resolutions of BAC’s Board of Directors and BofA Finance’s Board of Managers authorizing the filing of the Registration Statement and the issuance of the Securities, subject to, with respect to each particular issuance of Debt Securities, further specific authorization for such issuance by or pursuant to proper action by BAC’s Board of Directors or BofA Finance’s Board of Managers, as applicable (such further authorization, the “Authorizing Resolutions”).

As used herein, the term “Applicable Law” means the Delaware General Corporation Law and the Delaware Limited Liability Company Act (including statutory provisions, all applicable provisions of the Delaware Constitution and reported judicial decisions interpreting either of the foregoing) and the laws of the State of New York, all as in effect on the date hereof.

Assumptions Underlying Our Opinions

For all purposes of the opinions expressed herein, we have assumed, without independent investigation, the following:

(a) Factual Matters. To the extent we have reviewed and relied upon certificates of BAC or authorized representatives thereof, certificates of BofA Finance or authorized representatives thereof and certificates and assurances from public officials, all of such certificates and assurances are accurate with regard to factual matters and all official records (including filings with public authorities) are properly indexed and filed and are accurate and complete.

(b) Signatures; Legal Capacity; Authentic and Conforming Documents. The signatures of individuals who have signed each Indenture are genuine, and all individuals who signed each Indenture had the legal capacity to execute such Indenture. All documents submitted to us as originals are authentic, complete and accurate, and all documents submitted to us as copies conform to authentic original documents.

(c) Organizational Status; Power and Authority. All parties to each Indenture are validly existing and in good standing in their respective jurisdictions of formation and had as of the date such Indenture was executed and delivered the capacity and full power and authority to execute, deliver and perform such Indenture and the documents required or permitted to be delivered and performed thereunder, except that no such assumption is made as to BAC or BofA Finance as of the date hereof.


Bank of America Corporation

BofA Finance LLC

December 8, 2022

Page 3

 

(d) Authorization, Execution and Delivery. Each Indenture and the documents required or permitted to be delivered thereunder have been duly authorized by all necessary corporate, limited liability company, business trust, partnership or other action on the part of the parties thereto and have been duly executed and delivered by such parties, except that no such assumption is made as to BAC or BofA Finance as of the date hereof.

(e) Indentures Binding on Certain Parties. Each Indenture and the documents required or permitted to be delivered thereunder are the valid and binding obligations enforceable against the parties thereto in accordance with their terms, except no such assumption is made as to BAC or BofA Finance as of the date hereof.

(f) Noncontravention. None of the issuance of the BAC Debt Securities by BAC, of the BofA Finance Debt Securities by BofA Finance or of the Guarantee by BAC nor the execution and delivery of the applicable Indenture by any party thereto nor the performance by such party of its obligations thereunder will conflict with or result in a breach of (i) the certificate or articles of incorporation, bylaws, certificate or articles of organization, limited liability company agreement, certificate of limited partnership, partnership agreement, trust agreement or other similar organizational documents of any such party, except that no such assumption is made as to BAC or BofA Finance as to their respective organizational documents in effect as of the date hereof, (ii) any law or regulation of any jurisdiction applicable to any such party, except that no such assumption is made as to BAC or BofA Finance as to any Applicable Law as of the date hereof, or (iii) any order, writ, injunction or decree of any court or governmental instrumentality or agency applicable to any such party or any agreement or instrument to which any such party may be a party or by which its properties are subject or bound, except that no such assumption is made as to BAC or BofA Finance as to such Indenture as of the date hereof.

(g) Governmental Approvals. All consents, approvals and authorizations of, or filings with, all governmental authorities that are required as a condition to the issuance of the BAC Debt Securities by BAC, of the BofA Finance Debt Securities by BofA Finance, or of the Guarantee by BAC or to the execution and delivery of the applicable Indenture by the parties thereto or the performance by such parties of their obligations thereunder will have been obtained or made, except that no such assumption is made with respect to any consent, approval, authorization or filing that is applicable to BAC or BofA Finance as of the date hereof.

(h) Registration; Trust Indenture Act. The Registration Statement will be effective under the Securities Act and such effectiveness shall not have been terminated or rescinded and each Indenture will be qualified under the Trust Indenture Act of 1939.


Bank of America Corporation

BofA Finance LLC

December 8, 2022

Page 4

 

Our Opinions

Based solely upon the foregoing, and in reliance thereon, and subject to the qualifications, limitations, exclusions and other assumptions set forth in this opinion letter, we are of the opinion that:

1. BAC Debt Securities. When (i) Authorizing Resolutions with respect to any BAC Debt Securities, including any BAC Medium-Term Notes, have been duly adopted, (ii) the terms and form of such BAC Debt Securities and the terms of their issuance and sale have been established in conformity with the applicable Authorizing Resolutions and the BAC Indenture, (iii) such BAC Debt Securities have been issued and sold as contemplated by the Registration Statement, the BAC Prospectus and any applicable supplement(s) to the BAC Prospectus, (iv) BAC has received the consideration provided for in the applicable supplement(s) to the BAC Prospectus and any applicable definitive purchase, underwriting, distribution or similar agreement(s) and (v) either (A) such BAC Debt Securities have been completed, executed, authenticated and delivered, or (B) in the case of BAC Medium-Term Notes represented by a master global note, such master global note has been duly executed by BAC and authenticated by the trustee under the BAC Indenture and the trustee has made the appropriate entries or notations on Schedule 1 to the master global note identifying such BAC Medium-Term Notes as supplemental obligations thereunder in accordance with the instructions of BAC, and in each case in accordance with the provisions of the BAC Indenture, such BAC Debt Securities will constitute the legal, valid and binding obligations of BAC, enforceable against BAC in accordance with their terms.

2. BofA Finance Debt Securities and Related Guarantee. When (i) Authorizing Resolutions with respect to any BofA Finance Debt Securities, including any BofA Finance Medium-Term Notes, have been duly adopted, (ii) the terms and form of such BofA Finance Debt Securities and the terms of their issuance and sale have been established in conformity with the applicable Authorizing Resolutions and the BofA Finance Indenture, (iii) such BofA Finance Debt Securities have been issued and sold as contemplated by the Registration Statement, the BofA Finance Prospectus and any applicable supplement(s) to the BofA Finance Prospectus, (iv) BofA Finance has received the consideration provided for in the applicable supplement(s) to the BofA Finance Prospectus and any applicable definitive purchase, underwriting, distribution or similar agreement(s) and (v) either (A) such BofA Finance Debt Securities have been completed, executed, authenticated and delivered, or (B) in the case of BofA Finance Medium-Term Notes represented by a master global note, such master global note has been duly executed by BofA Finance and authenticated by the trustee under the BofA Finance Indenture and the trustee has made the appropriate entries or notations on Schedule 1 to the master global note identifying such BofA Medium-Term Notes as supplemental obligations thereunder in accordance with the instructions of BofA Finance, and in each case in accordance with the provisions of the BofA Finance Indenture, such BofA Finance Debt Securities will constitute the legal, valid and binding obligations of BofA Finance, enforceable against BofA Finance in accordance with their terms, and the Guarantee thereof will constitute the legal, valid and binding obligation of BAC, enforceable against BAC in accordance with its terms.


Bank of America Corporation

BofA Finance LLC

December 8, 2022

Page 5

 

Matters Excluded from Our Opinions

We express no opinion with respect to the following matters:

(a) Indemnification. The enforceability of any agreement of BAC or BofA Finance as may be included in the terms of either Indenture relating to indemnification, contribution or exculpation from costs, expenses or other liabilities, which agreement is contrary to public policy or applicable law.

(b) Jurisdiction, Venue, etc. The enforceability of any agreement of BAC or BofA Finance in either Indenture to submit to the jurisdiction of any specific federal or state court (other than the enforceability in a court of the State of New York of any such agreement to submit to the jurisdiction of a court of the State of New York), to waive any objection to the laying of the venue, to waive the defense of forum non conveniens in any action or proceeding referred to therein, to waive trial by jury, to effect service of process in any particular manner or to establish evidentiary standards, and any agreement of BAC or BofA Finance regarding the choice of law governing either Indenture (other than the enforceability in a court of the State of New York or in a federal court sitting in the State of New York and applying New York law to any such agreement that the laws of the State of New York shall govern).

(c) Certain Laws. The following state laws, and regulations promulgated thereunder, and the effect of such laws and regulations, on the opinions expressed herein: securities (including Blue Sky laws).

(d) Remedies. The enforceability of any provision in either Indenture, as applicable, to the effect that rights or remedies are not exclusive, that every right or remedy is cumulative and may be exercised in addition to any other right or remedy, that the election of some particular remedy does not preclude recourse to one or more others or that failure to exercise or delay in exercising rights or remedies will not operate as a waiver of any such right or remedy.

Qualifications and Limitations Applicable to Our Opinions

The opinions set forth above are subject to the following qualifications and limitations:

(a) Applicable Law. Our opinions are limited to the Applicable Law, and we do not express any opinion concerning any other law.

(b) Bankruptcy. Our opinions are subject to the effect of any applicable bankruptcy, insolvency (including, without limitation, laws relating to preferences, fraudulent transfers and equitable subordination), reorganization, moratorium and other similar laws affecting creditors’ rights generally.

(c) Equitable Principles. Our opinions are subject to the effect of general principles of equity (regardless of whether considered in a proceeding in equity or at law), including, without limitation, concepts of materiality, reasonableness, good faith and fair dealing.


Bank of America Corporation

BofA Finance LLC

December 8, 2022

Page 6

 

(d) Currency Conversion. We advise you that a judgment for money relating to any obligation under Debt Securities denominated in a currency other than United States dollars ordinarily would be rendered or enforced only in United States dollars by a court of the State of New York or a United States court sitting in the State of New York and applying New York law. The date and method used to determine the rate of conversion of a foreign currency into United States dollars will depend on various factors, including which court renders the judgment.

Miscellaneous

We hereby consent to the filing of this opinion as Exhibit 5.1 to the Registration Statement on or about the date hereof and to the reference to our firm in each of the BAC Prospectus and the BofA Finance Prospectus under the caption “Legal Matters.” In addition, if a supplement to the BAC Prospectus relating to the offer and sale of any particular BAC Medium-Term Notes or if a supplement to the BofA Finance Prospectus relating to the offer and sale of any particular BofA Finance Medium-Term Notes and related Guarantee is filed by BAC and BofA Finance, as applicable, with the Commission on a future date, and the supplement contains a reference to us and our opinion substantially in the form set forth below, we consent to including that opinion as part of the Registration Statement and further consent to the reference to our name in the opinion:

“In the opinion of McGuireWoods LLP, as counsel to [BAC][BofA Finance and BAC, as guarantor], [when the notes offered hereby have been completed and executed by [BAC][BofA Finance], and authenticated by the trustee in accordance with the provisions of the indenture governing the notes [and the related guarantee]] [when the trustee has made the appropriate entries or notations on Schedule 1 to the master global note that represents the notes (the “Master Note”) identifying the notes offered hereby as supplemental obligations thereunder in accordance with the instructions of [BAC][BofA Finance]], and the notes have been delivered against payment therefor as contemplated in this [pricing supplement][term sheet] and the related prospectus and prospectus supplement, all in accordance with the provisions of the indenture governing the notes [and the related guarantee], such notes will be the legal, valid and binding obligations of [BAC][BofA Finance][, and the related guarantee will be the legal, valid and binding obligation of BAC], subject[, in each case,] to the effects of applicable bankruptcy, insolvency (including laws relating to preferences, fraudulent transfers and equitable subordination), reorganization, moratorium and other similar laws affecting creditors’ rights generally, and to general principles of equity. This opinion is given as of the date of this [pricing supplement][term sheet] and is limited to the Delaware General Corporation Law [and the Delaware Limited Liability Company Act] (including the statutory provisions, all applicable provisions of the Delaware Constitution and reported judicial decisions interpreting [either of] the foregoing) and the laws of the State of New York as in effect on the date hereof. In addition, this opinion is subject to customary assumptions about the trustee’s authorization, execution and delivery of the indenture governing the notes [and due authentication of the Master Note], the validity, binding nature and enforceability of the indenture governing the notes [and


Bank of America Corporation

BofA Finance LLC

December 8, 2022

Page 7

 

the related guarantee] with respect to the trustee, the legal capacity of individuals, the genuineness of signatures, the authenticity of all documents submitted to McGuireWoods LLP as originals, the conformity to original documents of all documents submitted to McGuireWoods LLP as copies thereof, the authenticity of the originals of such copies and certain factual matters, all as stated in the opinion letter of McGuireWoods LLP dated December 8, 2022, which has been filed as an exhibit to the Registration Statement of BAC and BofA Finance, filed with the Securities and Exchange Commission on December 8, 2022. [This opinion is also subject to the limitations, as stated in such opinion letter, of the enforcement of notes denominated or payable in a currency other than U.S. dollars.]”

In giving this consent, we do not admit thereby that we are in the category of persons whose consent is required under Section 7 of the Act.

Very truly yours,

/s/ McGuireWoods LLP