Years before the events of the first film, Lord Shen (Gary Oldman), the son of the peacock clan that ruled Gongmen City in ancient China, sought to harness fireworks as a weapon. After discovering from the court's goat soothsayer (Michelle Yeoh) that "a warrior of black-and-white" would defeat him, Shen then led an army to exterminate the panda population to avert the prophecy. Shen's parents, horrified at this atrocity, exiled a vengeful Shen from the city.
Thirty years later,[5] Po (Jack Black) is living his dream as the Dragon Warrior, protecting the Valley of Peace alongside his friends and fellow kung fu masters, the Furious Five. Master Shifu (Dustin Hoffman) tells him, however, he has yet to achieve inner peace. While helping defend a village from wolf bandits who have been stealing refined metal for Lord Shen, Po is distracted by a symbol on the head wolf's (Danny McBride) armor, which causes Po to have a flashback of his mother, and allows the wolves to escape. Po asks his goose father, Mr. Ping (James Hong), of his origins, but all Ping can say is that he found Po as an infant in a radish crate, and adopted him.
Shifu receives word that Shen has killed Master Thundering Rhino (Victor Garber), the leader of the kung fu council protecting Gongmen City, with a newly developed weapon, a cannon, with which he intends to destroy kung fu tradition and conquer China. He sends Po and the Furious Five to stop Shen, who reach Gongmen City to find it under occupation by Shen's forces. The heroes find two imprisoned council members, Masters Storming Ox (Dennis Haysbert) and Croc (Jean-Claude Van Damme), and ask for help to liberate the city, but both masters cite their helplessness against Shen's weapon and refuse. The wolf leader discovers Po and the Five and they give chase, only to be captured in front of Shen's tower.