The present invention is directed to a pharmaceutical composition comprising a pharmaceutically acceptable carrier and a ω-(arylsulfonyl)alkylnitrile compound, or a pharmaceutically acceptable salt thereof. The present invention is also directed to a method for treating inflammation, inflammatory-related disorders, or pain, by administering an ω-(arylsulfonyl)alkylnitrile compound or a pharmaceutically acceptable salt or solvate thereof to a subject in need thereof.