At the end of the 19th century, there were no laws banning the importation or consumption of cocaine, and the drug was very popular. As time went on, opposition to the drug grew, and cocaine was declared illegal in 1914; however, the legislation includes a special exemption for coca leaves imported for the decocainized form used by Coca-Cola.