s6y Alliance Holdings GP, L.P. S-3ASR

Alliance Holdings GP, L.P. S-3ASR, filed Mar 28, 2011: Consent of Deloitte & Touche LLP

Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in this Registration Statement on Form S-3 of our reports dated March 8, 2011, relating to the consolidated financial statements and financial statement schedule of Alliance Holdings GP, L.P., and the effectiveness of Alliance Holdings GP, L.P.’s internal control over financial reporting, appearing in the Annual Report on Form 10-K of Alliance Holdings GP, L.P. for the year ended December 31, 2010, and to the reference to us under the heading “Experts” in the Prospectus, which is part of this Registration Statement.

/s/ Deloitte & Touche LLP

Tulsa, Oklahoma

March 25, 2011