Coffee was first consumed in the 9th century, when it was discovered in the highlands of Ethiopia. According to legend, an Ethiopian shepherd was the first one to observe the influence of caffeine in coffee beans when the goats appeared to "dance" and to have an increased level of energy after consuming wild coffee berries. The legend names the shepherd "Kaldi". From Ethiopia, coffee spread through Egypt and Yemen. By the 15th century, it had reached the rest of Middle East, Persia, Turkey and northern Africa.
When coffee reached North America in the colonial period, it was initially not as successful as it had been in Europe. After the War of 1812, during which Britain temporarily cut off access to tea imports, the Americans' taste of coffee grew, and high demand during the American Civil War together with advances in brewing technology secured the position of coffee as an everyday commodity in the United States. Today, coffee is one of the most popular beverages worldwide.
The origin of the word "Coffee" is uncertain; it may have derived from the name of the Kaffa region in western Ethiopia, where coffee was first cultivated. The Ethiopian name for coffee is Bunna.