Ancestral state reconstruction analysis using maximum likelihood methods for body shape and habitat transition within Anomura. Colored taxa correspond to anomuran families as noted in legend. Pie charts represent the likelihood of the ancestral state. (A) Character states for body shape were defined as crab-like white, squat lobster blue, symmetrical hermit green and asymmetrical hermit black. (B) Character states for habitat were defined as freshwater white, semi-terrestrial green, and marine black. Subtrees are shown for the transition into freshwater (Aeglidae) and semi-terrestrial habitats (Coenobitidae).