In the middle of the 15th century, coffee was transported from Africa to Yemen, carried by slaves from the region now occupied by modern-day Sudan. Climate conditions and the fertile land in the country helped the coffee plants grow.
From Yemen, coffee spread northward to Mecca and Medina, and then to the major cities of North Africa. Coffee's ability to fight off tiredness and the prohibition on the consumption of alcohol imposed by the Koran established coffee as an excellent substitute, which could be consumed in public at various social events.
Coffee houses became venues for people getting together, chatting away, entertaining themselves or even gambling. The first coffeehouses were opened in the port of Mocha, Yemen, a major emporium and coffee exporting port. On several occasions, the coffeehouses became hotbeds of political discussions and activity, and many attempts, albeit unsuccessful because of the popularity of the drink, were made to close them down. It was forbidden for its stimulating effect by conservative imams in Mecca and Cairo and by the Ethiopian Church later on. These bans were later overturned though.
Although the Arabs strictly forbade the export of coffee seeds, coffee as a finished product passed to Europe at the end of the 16th century via Venice, which maintained strong trade relations with the Arab world and also with Constantinople. The Venetian merchants who visited Constantinople loved this drink and brought it with them back to Venice. Originally, it was distributed by the Venetian merchants to the wealthy as an exotic drink.
Its popularity grew after Pope Clement VIII, having defied advice from his milieu to condemn coffee as an Islamic threat to Christianity, tried it in 1600 AD. He was immediately delighted and named it a Christian beverage instead. According to legend, he is reputed to have declared, “This devil’s drink is delicious. We should cheat the devil by baptizing it.” So it was in 1615 that the Europeans first came to know coffee and soon grew very fond of it. Europe's first coffee shop was opened in Venice, Italy in 1645.