During the ceremony, which lasted for days, the Pharmakos were very well fed with the most exquisite delicacies available at the time, such as figs, cakes and cheese. They also wore good clothing and necklaces with black and white figs, symbolizing men and women. The purpose of the ceremony was to free the community from misfortunes and this was done with the expulsion of the chosen one from the city. Along the way, Pharmakos was chased and stoned, and could be sacrificed by the population. Other elements were thrown, like onion and garlic bulbs, which, in popular faith, repelled miasma, bad spirits and bad luck.