The present invention relates to pyrimidinones and pyridones and derivatives thereof, and pharmaceutically acceptable salts thereof. Also included is a method of treatment of inflammation, rheumatoid arthritis, Pagets disease, osteoporosis, multiple myeloma, uveititis, acute or chronic myelogenous leukemia, pancreatic β cell destruction, osteoarthritis, rheumatoid spondylitis, gouty arthritis, inflammatory bowel disease, adult respiratory distress syndrome (ARDS), psoriasis, Crohn's disease, allergic rhinitis, ulcerative colitis, anaphylaxis, contact dermatitis, asthma, muscle degeneration, cachexia, Reiter's syndrome, type I diabetes, type II diabetes, bone resorption diseases, graft vs. host reaction, Alzheimer's disease, stroke, myocardial infarction, ischemia reperfusion injury, atherosclerosis, brain trauma, multiple sclerosis, cerebral malaria, sepsis, septic shock, toxic shock syndrome, fever, myalgias due to HIV-1, HIV-2, HIV-3, cytomegalovirus (CMV), influenza, adenovirus, the herpes viruses or herpes zoster infection in a mammal comprising administering an effective amount a compound as described above.