Attached files

file filename
10-K - FORM 10-K - UNITED BANKSHARES INC/WVd10k.htm
EX-21 - SUBSIDIARIES OF THE REGISTRANT - UNITED BANKSHARES INC/WVdex21.htm
EX-12 - COMPUTATION OF RATIOS - UNITED BANKSHARES INC/WVdex12.htm
EX-32.2 - SECTION 906 CERTIFICATION FOR THE CFO - UNITED BANKSHARES INC/WVdex322.htm
EX-31.2 - SECTION 302 CERTIFICATION FOR THE CFO - UNITED BANKSHARES INC/WVdex312.htm
EX-32.1 - SECTION 906 CERTIFICATION FOR THE CEO - UNITED BANKSHARES INC/WVdex321.htm
EX-10.1 - INDEPENDENT CONTRACTOR AGREEMENT FOR DONALD L. UNGER - UNITED BANKSHARES INC/WVdex101.htm
EX-31.1 - SECTION 302 CERTIFICATION FOR THE CEO - UNITED BANKSHARES INC/WVdex311.htm

Exhibit 23

Consent of Independent Registered Public Accounting Firm

We consent to the inclusion in this Annual Report (Form 10-K) of United Bankshares, Inc. for the year ended December 31, 2009, of our reports dated February 25, 2010, with respect to the consolidated financial statements of United Bankshares, Inc., and the effectiveness of internal control over financial reporting of United Bankshares, Inc.

We also consent to the incorporation by reference in the Registration Statement (Form S-8 No. 333-138192) pertaining to the 2006 Stock Option Plan of United Bankshares, Inc., Registration Statement (Form S-8 No. 333-106528) pertaining to the 2001 Incentive Stock Option Plan of United Bankshares, Inc., and Registration Statement (Form S-8, No. 333-24241) pertaining to the 1996 Incentive Stock Option Plan of United Bankshares, Inc. of our reports dated February 25, 2010 with respect to the consolidated financial statements of United Bankshares, Inc., and the effectiveness of internal control over financial reporting of United Bankshares, Inc., included in the Annual Report (Form 10-K) for the year ended December 31, 2009.

/s/ Ernst & Young LLP

Charleston, WV

February 25, 2010

 

118