Transitional fossils.

Whales are mammals that must have evolved from terrestrial ancestors.

This hypothesis predicts that their ancestors had four legs, as shown in these transitional fossils..

Pakicetus and Rhodocetus had ankle bones unique to even-toed land mammals such as hippos.

More recent fossils such as Dorudon and Balaena had reduced limbs more adapted to an aquatic lifestyle.