A legend from the 3rd century tells that St. Nicola left all his fortune to the poor and entered a monastery. Years later, now a bishop, he began his miracles.
On one occasion, St. Nicola distributed a bag of gold coins to a neighbor in Mira to pay for the dowry of his three daughters. This bag was sent through the chimney, hence the tradition of leaving gifts by the warmth of the firewood. Children place their shoes very clean in the chimney, which ensures them gifts on the morning of December 6th, traditionally mandarins and oranges, and other presents.
And the legend says that the oranges St. Nicola distributed came from distant lands, specifically from Mairena del Alcor (Seville), where the saint would be amazed by the beauty of its watermills and rounded hills. St. Nicola would establish himself in the castle of Mairena to defend the faith and the orange groves that surrounded it.