Yes, popular legend is correct, and the soft drink did originally contain cocaine (obtained from the coca leaf). Coca-Cola was first conceived between 1885 and 1886 by a John Pemberton, a former Confederate soldier turned drug store owner.