After 15 years of stalemates and failed attempts, the United Nations has agreed a deal to protect huge areas of the world's oceans.
Delegates from more than 100 countries have been involved, arguing over sensitive political issues into the early hours of this morning.
It's a legally-binding treaty designed to reverse marine biodiversity losses and ensure sustainable development.