Crab
Evolution

The earliest unambiguous crab fossils date from the Early Jurassic, with the oldest being Eocarcinus from the early Pliensbachian of Britain, which likely represents a stem-group lineage, as it lacks several key morphological features that define modern crabs. Most Jurassic crabs are only known from dorsal (top half of the body) carapaces, making it difficult to determine their relationships. Crabs radiated in the Late Jurassic, corresponding with an increase in reef habitats, though they would decline at the end of the Jurassic as the result of the decline of reef ecosystems. Crabs increased in diversity through the Cretaceous and represented the dominant group of decapods by the end of the period.

The crab infraorder Brachyura belongs to the group Reptantia, which consists of the walking/crawling decapods (lobsters and crabs). Brachyura is the sister clade to the infraorder Anomura, which contains the hermit crabs and relatives. The cladogram below shows Brachyura's placement within the larger order Decapoda, from analysis by Wolfe et al., 2019.

Brachyura is separated into several sections, with the basal Dromiacea diverging the earliest in the evolutionary history, around the Late Triassic or Early Jurassic. The group consisting of Raninoida and Cyclodorippoida split off next, during the Jurassic period. The remaining clade Eubrachyura then divided during the Cretaceous period into Heterotremata and Thoracotremata.A summary of the high-level internal relationships within Brachyura can be shown in the cladogram below:

There is a no consensus on the relationships of the subsequent superfamilies and families. The proposed cladogram below is from analysis by Tsang et al, 2014:
startend:quotation, detectable_content:postscript, punctuation:no_comma