ritual (adj.)
1560s, from Middle French ritual or directly from Latin ritualis "relating to (religious) rites," from ritus "rite" (see rite). Related: Ritually.
ritual (nj.)
1640s, from ritual (adj.).