The present invention relates to substituted nitrogen-containing
heteroaryl derivatives, pharmaceutical compositions containing them, and
methods of using any of these derivatives and compositions for H.sub.4
receptor activity modulation and the treatment of states mediated by
histamine H.sub.4 receptor activity.