Sulfasalazine has an anti-inflammatory effect. Although it is not clear exactly how it works, it is thought to block the way inflammation develops in your body.
This is a companion discussion topic for the original article at https://patient.info/medicine/sulfasalazine-salazopyrin