I thought marijuana was legal in some Arab countries, but Wikipedia's front page reported that Uruguay was the first country to legalize it. They qualify as authority to me - at least, they take care not to put plainly wrong information on the front page.
Wikipedia's reference for this factoid is the following article from Reuters.
Uruguay becomes first country to legalize marijuana trade
(Reuters) - Uruguay became the first country to legalize the growing, sale and smoking of marijuana on Tuesday, a pioneering social experiment that will be closely watched by other nations debating drug liberalization.
Other countries have decriminalized marijuana possession and the Netherlands allows its sale in coffee shops, but Uruguay will be the first nation to legalize the whole chain from growing the plant to buying and selling its leaves.
Several countries such as Canada, the Netherlands and Israel have legal programs for growing medical cannabis but do not allow cultivation of marijuana for recreational use.