Caffeine

Caffeine was a drug that was legal on Earth in 1799. (NA: Christmas on a Rational Planet)