The Mummy: Tomb of the Dragon Emperor

In ancient China, a warlord unites the country's kingdoms into an empire and becomes the Dragon Emperor. He orders the construction of the Great Wall of China, where his enemies' corpses are buried underneath the site, eventually learning power over the traditional Chinese Wuxing elements. The Emperor grows fearful that his death will end all he has accomplished and summons Zi Yuan, a sorceress said to know the secret of immortality. He sends her to an ancient monastery with his second-in-command and most trusted friend, General Ming, to find the long-lost Oracle Bones. They fall in love, though the Emperor lusts for the former. When one of his servants witnesses them consummating their relationship, the Emperor has Ming executed in retaliation after having Yuan perform the procedure and stabs her with a dagger. Having foreseen this event however, she immolates and imprisons the Emperor and his soldiers in clay, turning them into the Terracotta Army, and flees.