In the 12th century, St. James the Apostle, the patron saint of Spain, was once believed in Spanish legend to have led the Catholic militia in the mythical Battle of Clavijo to victory against the Moors in 844. On his saints day, when people celebrated the victory, the vejigante represented the defeated Moors.
