In China, during the rebellions at the end of the
Sui dynasty, the general
Wang Shichong installs himself as Prince of Zheng in the eastern capital of Luoyang. His nephew, Wang Renze, oversees the bolstering of his riverfront defenses against the rival warlords on the bank of the Yellow River. The work of the slaves is not fast enough for him, so he orders his prisoners, who are captured rebels, to join the slaves. These rebels include martial artist "Divine Leg Zhang," who witnesses the brutal flogging of the laborers and steps forward to defend them. Wang Renze personally intervenes and severely injures Zhang. Zhang's son, Xiaohu, attempts to stop him, but is easily defeated by Wang Renze. Zhang is killed by Wang Renze as Xiaohu escapes into the Yellow River, eventually drifting ashore and fainting at the gates of the Shaolin Temple. The
Sifu persuades the Abbot to take in Xiaohu, despite the temple's supervisor monk's concern that Xiaohu will bring trouble to Shaolin. The Sifu and his pupils nurse Xiaohu back to health. After he recovers, Xiaohu joins the monks in carrying water from the river to the temple. He struggles, and but is watched by shepherd Bai Wuxia, who sends her dog to chase him. Xiaohu accidentally suffocates the dog, but decides to roast and eat the dog meat with the Sifu and the other pupils. Upon discovering this, Bai Wuxia is furious at Xiaohu, but the Sifu mediates. Xiaohu learns that Bai Wuxia is the Sifu's daughter, and nine years before, they fled Wang Renze's soldiers, reaching the Temple. Wanting to kill Wang Renze, Xiaohu asks the Sifu to train him in Shaolin martial arts. The Sifu says that Shaolin martial arts are for defense, not killing, and that Xiaohu is not a monk. Xiaohu resolves to become a monk. His head is shaven, and the Abbot ordains him as a junior monk, giving him the Dharma name "Jue Yuan." Jue Yuan begins Shaolin martial arts training. After a time, he has gained impressive fighting abilities, but while sparring, he pictures Wang Renze and nearly kills his partner. He is ordered to face a wall for three days as punishment, but flees from the Temple instead. Jue Yuan attempts to assassinate Wang Renze, during which he finds Bai Wuxia, who had been abducted by Wang Renze that same day. Jue Yuan fails to kill Wang Renze and is forced to flee with Bai Wuxia. Ashamed, he returns to the Temple. His Sifu forgives him and allows him to resume training. More than a year later,
Li Shimin (son of
Li Yuan), who is pursued by Wang Renze, enters the Temple. The monks pretend to help Wang Renze hunt for Li Shimin, while the latter escapes. Jue Yuan and Bai Wuxia help Li Shimin, making their way past Wang Renze's patrols in disguise as a newlywed couple. The escape, however, fails. Bai Wuxia and an injured Li Shimin flee on a raft down the river, while Jue Yuan stays behind to fight off the pursuers. His Sifu, along with other monks, arrives and saves Jue Yuan, but in doing so, expose Shaolin Temple's connection with Li Shimin. The Sifu banishes Jue Yuan from the Temple. Wang Renze learns of what the monks did, and marches on the Temple with his army to destroy it. The Abbot orders the monks not to fight, even as Wang Renze's army surrounds the Temple. The Abbot pleads with Wang Renze for mercy and accepts the blame. He is placed on a pyre, which is set aflame. Wang Renze announces that, if the monks reveal the traitors' whereabouts, he will spare the Temple and the Abbot. He then has his men kill several of the other top monks. The Sifu and his pupils arrive to fight off Wang Renze's forces, and the Abbot permits the monks to take lives as needed, before dying atop the pyre. A battle begins, and many monks are killed. Jue Yuan and Bai Wuxia return to the Temple. Wang Renze's army takes the outer walls and outer grounds, and kills all the monks there. The surviving monks fall back within the inner walls. The Sifu is mortally wounded by a volley of arrows. Before dying, he entreats Jue Yuan to protect the Temple and uphold justice. Wang Renze receives word that Li Shimin and his army are approaching Luoyang, and they abandon the siege of the Temple. Jue Yuan and the monks ride after Wang Renze, joining the battle at the ravaged Luoyang. Jue Yuan and Wang Renze once again duel on the shore of the Yellow River, with Jue Yuan eventually killing Wang Renze. Following the events of the war, Li Shimin has established the new Tang dynasty and installed himself as Emperor. Jue Yuan stands in the main hall of the Shaolin Temple as the supervisor monk, now the new Abbot, asks if he can obey the vow to not murder. Jue Yuan vows that he will not kill, save to uphold righteousness, and the Abbot accepts this. Jue Yuan continues to swear his vows, but when he reaches the vow of celibacy, he is again conflicted. After the Sifu's death, Jue Yuan had vowed to inherit his Sifu's legacy and dedicate himself to Shaolin monkhood. Saddened by this, Bai Wuxia gave Jue Yuan an amulet as a token of farewell. Jue Yuan now looks down at the amulet, then sees Bai Wuxia, who has sneaked into a wing of the sanctum. He reluctantly vows to remain celibate, and she leaves. Jue Yuan is ordained as a true Shaolin monk. He also becomes the kung fu Sifu of the Temple, leading the monks in their training. ==Cast==