Elder Hero Twin; with Xbalanque, defeated the cosmic false-sovereigns Vucub Caquix and his sons Zipacna and Cabracan, and subsequently the Xibalba court that had executed their father Hun Hunahpu and uncle Vucub Hunahpu. The narrative structure of the Hero Twins cycle is the foundational Maya cosmogonic theodicy: the cosmos is unlivable until false suns are deposed and underworld-court sovereignty is overturned, and only then does true Sun (Hunahpu apotheosized) and true Moon (Xbalanque apotheosized) ascend. The Bat House episode in which Hunahpu's head is decapitated by Camazotz and replaced by a squash, then recovered, is the structural prefiguration of the Twins' final self-sacrifice and resurrection trick — the same death-survival theological pattern that anchors Classic Maya royal apotheosis ideology. Iconographically Jun Ajaw (the Classic-period reflex) is one of the most-represented figures on Late Classic painted ceramics; the Codex-style polychromes of the Petén lowlands (7th-9th c. CE) depict the Twins repeatedly in scenes of underworld combat, animal-form-hunting, and ballgame ritual. The K'iche' royal lineages of the Postclassic explicitly trace descent through the Hunahpu line, asserting genealogical-cosmogonic legitimacy.