He came up with a compound called acetylsalicylic acid (ASA) which appeared to share the therapeutic properties of other salicylates, without causing stomach irritation.
The discovery of aspirin was inspired by Felix Hoffman's attempt to find a drug to ease his father's arthritis without causing the severe stomach irritation associated with the standard anti-arthritis drug of the time, sodium salicylate.