Now Maccabeus and his followers, the Lord leading them on, recovered the temple and the city; they tore down the altars that had been built in the public square by the foreigners, and also destroyed the sacred precincts. They purified the sanctuary, and made another altar of sacrifice; then, striking fire out of flint, they offered sacrifices, after a lapse of two years, and they offered incense and lighted lamps and set out the bread of the Presence.
When they had done this, they fell prostrate and implored the Lord that they might never again fall into such misfortunes, but that, if they should ever sin, they might be disciplined by him with forbearance and not be handed over to blasphemous and barbarous nations. It happened that on the same day on which the sanctuary had been profaned by the foreigners, the purification of the sanctuary took place, that is, on the twenty-fifth day of the same month, which was Chislev. They celebrated it for eight days with rejoicing, in the manner of the festival of booths, remembering how not long before, during the festival of booths, they had been wandering in the mountains and caves like wild animals. Therefore, carrying ivy-wreathed wands and beautiful branches and also fronds of palm, they offered hymns of thanksgiving to him who had given success to the purifying of his own holy place. They decreed by public edict, ratified by vote, that the whole nation of the Jews should observe these days every year.
(2 Maccabees 10:1-8 NRSV)