john stith pemberton (july 8, 1831 – august 16, 1888) was an american pharmacist and confederate states army veteran who is best known as the inventor of coca-cola. in may 1886, he developed an early version of a beverage that would later become coca-cola, but sold his rights to the drink shortly before his death.