This is the legend of Saint Nicolas (or Santa Claus) as it is told in Switzerland. The legend probably dates from the 11th century, sometime after the worship of Saint Nicolas was introduced into the Holy Roman Empire by Empress Theophanu. She had brought the saint's story and his worship with her from her native Constantinople.
According to Swiss history writing, the foundations for modern Switzerland date to 1291. The date being conveniently close to the dissolution of the Order of the Knights Templar many see a connection between the two in later developments. Did the Knights Templar bring their legendary treasure to Switzerland and made it as rich as it is?