A popular legend has it that Mongolian rule in China, which lasted from approximately 1279 to 1368, ended when clever Chinese rebels (usual suspects include the founding emperor of the Ming Dynasty Zhu Yuanzhang, his chief advisor Liu Bowen, or another rebel leader named Liu Futong) used mooncakes to inspire their Chinese compatriots to rise up against their Mongolian overlords. There are as many versions of the story as there are flavors of mooncakes, but the basic premise is more or less the same.