The 2008 Constitution of Ecuador recognized nature as an entity with legally enforceable rights, making it the first country in the world to do so.