What is the evolutionary breakthrough that freed vertebrates from dependence of water for reproduction?

Amniotic egg

Amniotic eggs played a crucial role in freeing vertebrates from their dependency on water for reproduction. In addition to the protective outer shell, the amniotic egg contains several specialized membranes and fluids that create a self-contained environment suitable for embryonic development. These key features of amniotic eggs enabled vertebrates to reproduce and colonize terrestrial habitats, ultimately leading to the diversification of amphibians, reptiles, birds, and mammals.