EX-23.(B) 4 a2182634zex-23_b.htm EXHIBIT 23(B)
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23(b)

GRAPHIC

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in Registration Statements No. 333-111761 and 333-115022 on Form S-8 of Frederick County Bancorp, Inc. of our report, dated February 21, 2007, relating to our audit of the consolidated financial statements as of December 31, 2006 and for each of the two years in the period ended December 31, 2006, which appear in the Annual Report to Shareholders, which is incorporated in this Annual Report on Form 10-K of Frederick County Bancorp, Inc. for the year ended December 31, 2007.

/s/ McGladrey & Pullen, LLP

Frederick, Maryland
February 15, 2008




QuickLinks