The Lenten period of the Liturgical year Church calendar, being the six weeks directly before Easter, was marked by fasting and other pious or penitential practices. Traditionally during Lent, no parties or other celebrations were held, and people refrained from eating rich foods, such as meat, dairy, fats and sugar. The forty days of Lent, recalling the Gospel accounts of the forty days that Jesus spent in the wilderness, serve to mark an annual time of turning. In the days before Lent, all rich food and drink had to be disposed of. The consumption of this, in a giant party that involved the whole community, is thought to be the origin of Carnival.
While it forms an integral part of the Christian calendar, particularly in Catholic regions, some carnival traditions may date back to pre-Christian times. The ancient Roman festivals of Saturnalia and Bacchanalia may possibly have been absorbed into the Italian Carnival.[citation needed] The Saturnalia, in turn, may be based on the Greek Dionysia and Oriental festivals.[citation needed] While medieval pageants and festivals such as Corpus Christi were church-sanctioned celebrations, carnival was also a manifestation of medieval folk culture. Many local carnival customs are based on local pre-Christian rituals, for example the elaborate rites involving masked figures in the Swabian–Alemannic Fastnacht.
Some of the best-known traditions, including carnival parades and masquerade ball masquerading, were first recorded in medieval Italy. The carnival of Venice was for a long time the most famous carnival. From Italy, carnival traditions spread to the Catholic nations of Spain, Portugal, and France. From France, they spread to the Rhineland of Germany, and to New France in North America. From Spain and Portugal, they spread with Catholic colonization to the Caribbean and Latin America. In 1823 the first worldwide carnival parade took place in Cologne, Germany.[citation needed]