The medieval Goidelic festival of Samhain marked the end of the harvest, the end of the "lighter half" of the year and beginning of the "darker half". It was celebrated over the course of several days and had some elements of a Festival of the Dead. Bonfires played a large part in the festivities. People and their livestock would often walk between two bonfires as a cleansing ritual, and the bones of slaughtered livestock were cast into its flames.