Exhibit 23.1
Consent of Independent Auditor
We consent to the incorporation by reference in the Registration Statement (No 333-154730 on Form S-3 of Union Bankshares Corporation) of our report dated March 25, 2009, relating to our audit of the consolidated financial statements of First Market Bank F.S.B. and its subsidiaries as of and for the years ended December 31, 2008 and 2007 and our report on internal control over financial reporting as of December 31, 2008 and our report dated March 18, 2008, relating to our audit of the consolidated financial statements of First Market Bank F.S.B. and its subsidiaries as of and for the years ended December 31, 2007 and 2006, included in this Form 8-K/A.
/s/ McGladrey & Pullen, LLP
April 19, 2010
Richmond, Virginia