Sulfasalazine is a sulfa drug, a derivative of Mesalazine (5-aminosalicylic acid abbreviated as 5-ASA), used primarily as an anti-inflammatory agent in the treatment of inflammatory bowel disease as well as for rheumatoid arthritis. It is not a pain killer. (Brands Azulfidine® in United States)
Sulfasalazine is mainly used for treatment of inflammatory bowel disease, including ulcerative colitis and Crohn's disease. It is also effective in several types of arthritis, particularly rheumatoid arthritis.
More on [ Sulfasalazine ]

Sulfasalazine - Familydoctor.org - Information for patients in English and Spanish.