s6y S&T Bancorp Inc S-8

S&T Bancorp Inc S-8, filed Dec 31, 2008: Consent of Ernst & Young LLP

Exhibit 23.2

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the Registration Statement (Form S-8) pertaining to the Thrift Plan for Employees of S&T Bank of S&T Bancorp, Inc. of our report dated February 23, 2007, with respect to the consolidated balance sheet of S&T Bancorp, Inc. and subsidiaries as of December 31, 2006, and the related consolidated statements of income, shareholders’ equity, and cash flows for each of the two years in the period ended December 31, 2006, included in its Annual Report (Form 10-K) for the year ended December 31, 2007, filed with the Securities and Exchange Commission.

/s/ Ernst & Young LLP

Pittsburgh, Pennsylvania

December 29, 2008