"hard toffee with peanuts roasted in it" is from 1894. Peanut gallery "topmost (and… See origin and meaning of peanut.