Weird History Food is reliving the sugary soda wars between Coca-Cola and Pepsi. Both Coca-Cola and Pepsi were invented during the late 1800s, and over the course of the 20th century, they competed for dominance across the globe. Coca-Cola was the front-runner from the outset and remained the leader until the 1970s. As Pepsi pushed harder to seize control of the marketplace, Coca-Cola shoved back and, in true combat-like fashion, the Coke vs. Pepsi war was born.