This invention relates to treating inflammatory and immune diseases with certain pyrimidinone compounds that bind to CXCR3 receptors. The pyrimidinone compounds are covered by the formula (I) shown below. Each variable is defined in the specification.