linguistic:paraphrasing, information:filtering, stylistic:style_transfer, structural:summarization, linguistic:voice_change
Evolution

Until 1909, naturalists classified hippos together with pigs based on molar patterns. Several lines of evidence, first from blood proteins, then from molecular systematics, DNA and the fossil record, show their closest living relatives are cetaceans (whales, dolphins, and porpoises). The common ancestor of hippos and whales branched off from Ruminantia and the rest of the even-toed ungulates; the cetacean and hippo lineages split soon afterwards.

The most recent theory of the origins of Hippopotamidae suggests hippos and whales shared a common semiaquatic ancestor that branched off from other artiodactyls around 60 million years ago. This hypothesised ancestral group likely split into two branches again around 54 million years ago.

One branch would evolve into cetaceans, possibly beginning about 52 million years ago, with the protowhale Pakicetus and other early whale ancestors collectively known as Archaeoceti. This group eventually underwent aquatic adaptation into the completely aquatic cetaceans. The other branch became the anthracotheres, a large family of four-legged beasts, the earliest of which in the late Eocene would have resembled skinny hippos with comparatively smaller, narrower heads. All branches of the anthracotheres, except that which evolved into Hippopotamidae, became extinct during the Pliocene, leaving no descendants.

A rough evolutionary lineage of the hippo can thus be traced from Eocene and Oligocene species: from Anthracotherium and Elomeryx to the Miocene species Merycopotamus and Libycosaurus and finally the very latest anthracotheres in the Pliocene. These groups lived across Eurasia and Africa. The discovery of Epirigenys in East Africa, which was likely a descent of Asian anthracotheres and a sister taxon to Hippopotamidae, suggests that hippo ancestors entered Africa from Asia around 35 million years ago. An early hippopotamid is the genus Kenyapotamus, which lived in Africa from 15 to 9 million years ago. Hippopotamid species would spread across Africa and Eurasia, including the modern pygmy hippo. From 7.5 to 1.8 million years ago, a possible ancestor to the modern hippo, Archaeopotamus, lived in Africa and the Middle East. The oldest records of the genus Hippopotamus date to the Pliocene (5.3-2.6 million years ago). The oldest unambiguous records of the modern H. amphibius date to the Middle Pleistocene, though there are possible Early Pleistocene records.