Different accounts of Yim Wing Chun's story exist, but the central sequence of events remains largely the same, beginning with the origin of her teacher. During the Qing Dynasty, a Shaolin Buddhist nun and abbess, Ng Mui (五枚師太), reportedly fled the destruction of the Shaolin temple at the hands of the government; the temple was believed to be harbouring revolutionaries.[2] According to one legend, after being inspired by witnessing a crane and a snake fighting, Ng Mui incorporated their movements into her style of Chinese kung fu to form a new, yet-unnamed martial art system.[2]