Most of the species of frogs alive today may owe a big "thank you" to the mass extinction that wiped out dinosaurs 66 million years ago.
A new study by Chinese and American biologists showed that 88 per cent of today's frog species have descended from just three lineages that survived the calamity, likely caused by an asteroid or comet striking the earth.
"Frogs have been around for well over 200 million years, but this study shows it wasn't until the extinction of the dinosaurs that we had this burst of frog diversity that resulted in the vast majority of frogs we see today," said study co-author David Blackburn, associate curator of amphibians and reptiles at the Florida Museum of Natural History on the University of Florida campus.
This finding, published in the United States journal Proceedings Of The National Academy Of Sciences, "was totally unexpected", Dr Blackburn said.
The swift rise of frogs after the massive die-off was likely due to the fact that so many environmental niches were available after the animals occupying them disappeared.
"We think there were massive alterations of ecosystems at that time, including widespread destruction of forests," Dr Blackburn said.
"But frogs are pretty good at eking out a living in micro-habitats, and as forests and tropical ecosystems rebounded, they quickly took advantage of those new ecological opportunities."
Today, there are more than 6,700 known frog species, representing 55 families and living in a wide range of habitats - from trees to aquatic environments, and even underground.
Dr Blackburn joined researchers from Sun Yat-sen University in China, the University of Texas at Austin, and the University of California, Berkeley in the US to tackle the mystery of frog evolution with a data set seven times larger than that used in prior research.
The team sampled a core set of 95 nuclear genes from 156 frog species, combining this with previously published genetic data on an additional 145 species to build the most complete frog family tree yet.
When the analyses pointed to a simultaneous evolution of the three major frog clades - Hyloidea, Microhylidae and Natatanura - the researchers initially eyed the finding with scepticism, said Professor Zhang Peng, a corresponding study author and professor in the department of biochemistry and molecular biology at Sun Yat-sen University.
He said: "Nobody had seen this result before. We redid the analysis using different parameter settings, but the result remained the same. I realised the signal was very strong in our data. What I saw could not be a false thing."
While the extinction event opened new opportunities for frogs, notably leading to the evolution of tree frogs worldwide, it snuffed out many frog lineages, particularly in North America, the team said.
The study also showed that global frog distribution tracks the break-up of the supercontinents, beginning with Pangea about 200 million years ago, and then Gondwana, which split into South America and Africa.
The data suggested that frogs likely used Antarctica, not yet encased in ice sheets, as a stepping stone from South America to Australia.
While the survival and subsequent comeback of frogs testify to their resilience, Prof Zhang said, their current vulnerability to disease, habitat loss and degradation is a cause for concern. "I think the most exciting thing about our study is that we show that frogs are such a strong animal group, " he said.
"However, frog species are declining nowadays because humans are destroying their habitats. Does that mean humans are making a huge extinction event even stronger than this one? We need to think about it."