Early ancestors of the ocean's biggest animals once walked on land. Follow their extraordinary journey from shore to sea.

Although whales are expert swimmers and perfectly adapted to life underwater, these marine mammals once walked on four legs. Their land-dwelling ancestors lived about 50 million years ago. Meet Pakicetus, a goat-sized, four-legged creature that scientists recognise as one of the first cetaceans (the group of marine animals that includes dolphins and whales). How Pakicetus' descendants evolved into whales is one of the most intriguing evolutionary journeys known to science. What did the first whales look like? Pakicetus (pictured above) looked nothing like a whale, but it would have felt at home in the water. It lived on land, on the edge of lakes and riverbanks in what is now Pakistan and India.

It hunted small land animals and freshwater fish, and could even hear underwater. Eventually the relatives of this animal ventured further into the water and evolved to cope with their new environment. Into the water One species of these relatives was called Ambulocetus. It lived in or near estuaries about 50 to 48 million years ago. Like Pakicetus, it spent time both in and out of water, but its large feet looked more like flippers than its ancestor's longer legs. It also used its tail for swimming.