EX-5.1 2 nt10003111x2_ex5-1.htm EXHIBIT 5.1
Exhibit 5.1

[Letterhead of Wachtell, Lipton, Rosen & Katz]

August 20, 2019

S&T Bancorp, Inc.
800 Philadelphia Street
Indiana, Pennsylvania 15701

Re:  Registration Statement on Form S-4 (File No. 333-232611)

Ladies and Gentlemen:

We have acted as special counsel to S&T Bancorp, Inc., a Pennsylvania corporation (“S&T Bancorp”), in connection with the preparation and filing of S&T Bancorp’s Registration Statement on Form S-4 (the “Registration Statement,” which term does not include any other document or agreement whether or not specifically referred to therein or attached as an exhibit or schedule thereto), relating to shares of S&T Bancorp’s common stock, par value $2.50 per share (the “S&T Bancorp Shares”), to be issued by S&T Bancorp pursuant to the terms of the Agreement and Plan of Merger, dated as of June 5, 2019 (the “Merger Agreement”), by and between S&T Bancorp and DNB Financial Corporation.

For purposes of giving this opinion, we have examined the Registration Statement, the Merger Agreement, S&T Bancorp’s articles of incorporation and amended and restated by-laws.  We have also examined the originals, or duplicates or certified or conformed copies, of such corporate records, agreements, documents and other instruments and have made such other investigations as we have deemed relevant and necessary in connection with this opinion.  As to questions of fact material to this opinion, we have relied, with your approval, upon oral and written representations of S&T Bancorp and certificates or comparable documents of public officials and of officers and representatives of S&T Bancorp.

In making such examination and rendering this opinion, we have assumed without verification the genuineness of all signatures, the authenticity of all documents submitted to us as originals, the authenticity of the originals of such documents submitted to us as certified copies, the conformity to originals of all documents submitted to us as copies, the authenticity of the originals of such documents, that all documents submitted to us as certified copies are true and correct copies of such originals and the legal capacity of all individuals executing any of the foregoing documents.

Based upon and subject to the foregoing examination and in reliance thereon, and subject to the qualifications, assumptions and limitations stated herein and in reliance on statements of fact contained in the documents that we have examined or reviewed, we are of the opinion that the S&T Bancorp Shares to be issued by S&T Bancorp pursuant to and in the manner contemplated by the terms of the Merger Agreement will be, upon issuance, duly authorized and, when the Registration Statement has been declared effective by order of the Securities and Exchange Commission and the S&T Bancorp Shares have been issued in the manner contemplated by and upon the terms and conditions set forth in the Registration Statement and the Merger Agreement, such S&T Bancorp Shares will be validly issued, fully paid and nonassessable.

S&T Bancorp is a Pennsylvania corporation, and we have not considered, and we express no opinion as to, any law other than the Pennsylvania Business Corporation Law (including the statutory provisions, and reported judicial decisions interpreting the foregoing).

We hereby consent to be named in the Registration Statement and in the related proxy statement/prospectus contained therein as the attorneys who passed upon the legality of the S&T Bancorp Shares to be issued pursuant to the Registration Statement and to the filing of a copy of this opinion as Exhibit 5.1 to the Registration Statement.  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 Securities Act of 1933, as amended, and the rules and regulations of the Securities and Exchange Commission promulgated thereunder.  This opinion speaks as of its date, and we undertake no (and hereby disclaim any) obligation to update this opinion.

 
Very truly yours,
   
  /s/ Wachtell, Lipton, Rosen & Katz