The carnival of Ivrea has very ancient origins, dating back to the Middle Ages. According to legend, the tradition of throwing oranges began in the Napoleonic era, when the city of Ivrea rebelled against French rule.