Ecuador enacted a new constitution in 2008 and in it, it became the first country in the world to codify the Rights of Nature. The constitution recognizes the rights of ecosystems to flourish and it allows people to take legal action on behalf of the environment.
Ecuador had a history of abuse with the oil industry, including a class-action lawsuit against Chevron, which led to the adoption of Nature Rights in the country. The concept that resonated in this argument was called Buen Vivir, or good living. Buen Vivir meant to live a good life in a communal sense, and the community includes Nature.
There have been a number of legal disputes that have invoked the Rights of Nature. Check the source to read more about them!