What was the first country in the world to legalize cannabis?

What was the first country in the world to legalize cannabis?