Saccharin, like so many sweeteners, was discovered by accident. From the Wikipedia article:
Saccharin's sweetness was accidentally discovered by Ira Remsen, a professor at Johns Hopkins University, and Constantin Fahlberg, a research fellow working in Remsen's lab. In 1879, while working with coal…