Some Tamil castes trace their ancestry to Ahalya and Indra's liaison; the castes are named after Ahalya's children. Gautama finds the three boys and names them according to their behaviour: Agamudayar (derived from "brave"), who confronts Gautama, Maravar (derived from "tree"), who climbs a tree and Kallar (derived from "thief" or "rock"), who hides like a thief behind a large rock. A fourth child, Vellala, is added in some versions. In another variant, the liaison is replaced by penance and worship offered by Ahalya to Indra, who gifts her the children as a reward.