In ancient religions, black cats were considered to be reincarnated beings with the ability to divine the future. During the Middle Ages it was believed that witches could turn themselves into black cats. Thus when such a cat was seen, it was considered to be a witch in disguise or a familiar, resulting in many black cats being thrown into fire. The throwing of cats into a bonfire used to be a folk custom in France, Switzerland and Belgium and was done on St. John's Eve in June. The custom was abolished by King Louis XIV in 1648, though it continued in the provinces until as late as 1796.