EX-5.1 3 d234327dex51.htm EX-5.1 EX-5.1

Exhibit 5.1

[Letterhead of Sullivan & Cromwell LLP]

October 21, 2021

The Goldman Sachs Group, Inc.,

200 West Street,

New York, NY 10282.

Ladies and Gentlemen:

In connection with the registration under the Securities Act of 1933 (the “Act”) of 5,901,788 shares (the “Securities”) of Common Stock, par value $0.01 per share, of The Goldman Sachs Group, Inc., a Delaware corporation (the “Company”), to be issued pursuant to the Agreement and Plan of Merger, dated as of September 14, 2021, by and among the Company, Goldman Sachs Bank USA, GreenSky, Inc. and GreenSky Holdings, LLC (the “Merger Agreement”), we, as your counsel, have examined such corporate records, certificates and other documents, and such questions of law, as we have considered necessary or appropriate for the purposes of this opinion. Upon the basis of such examination, it is our opinion that, when the registration statement relating to the Securities (the “Registration Statement”) has become effective under the Act, the terms of the sale of the Securities have been duly established in conformity with the Company’s certificate of incorporation, and the Securities have been duly issued and delivered pursuant to the Merger Agreement, as contemplated by the Registration Statement, the Securities will be validly issued, fully paid and nonassessable.

In rendering the foregoing opinion, we are not passing upon, and assume no responsibility for, any disclosure in any registration statement or any related prospectus or other offering material relating to the offer and sale of the Securities.

The foregoing opinion is limited to the Federal laws of the United States and the General Corporation Law of the State of Delaware, and we are expressing no opinion as to the effect of the laws of any other jurisdiction.

We have relied as to certain factual matters on information obtained from public officials, officers of the Company and other sources believed by us to be responsible.


We hereby consent to the filing of this opinion as an exhibit to the Registration Statement and to the references to us under the heading “Legal Opinions” in the Prospectus. In giving such consent, we do not thereby admit that we are in the category of persons whose consent is required under Section 7 of the Act.

Very truly yours,

/s/ Sullivan & Cromwell LLP