Exhibit 23.1

LOGO

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the use in this Registration Statement on Form S-3 of Union Bankshares Corporation of our report dated February 28, 2008, relating to our audits of the consolidated financial statements and internal control over financial reporting, included in the Annual Report on Form 10-K of Union Bankshares Corporation for the year ended December 31, 2007, appearing in the Prospectus, which is part of this Registration Statement.

We also consent to the reference to our firm under the caption “Experts” in such Prospectus.

LOGO

Winchester, Virginia

January 26, 2009