Etiological folktales (Hùng Vương period)

Mai An Tiêm

Mai Yển (court name granted by the king) · Father of the Watermelon · Đức Thánh An Tiêm (Saint An Tiêm) · Bố Cái dưa Tây (Patriarch of the Western Melon)
買安添 (variant: 買安瞻) · Mai An Tiêm, the Watermelon Exile
Folktales region.northern Hùng Vương period (specific reign unspecified in original text; popular tradition assigns the 17th or 18th Hùng king)
Mai An Tiêm

Mai An Tiêm is a legendary figure from the Hùng Vương era, protagonist of the Tây Qua truyện (Tale of the Western Melon) in the Lĩnh Nam Chích Quái. Originally a foreign-born slave raised at court, he was exiled with his family to a deserted island off Nga Sơn for claiming his wealth came from a past life. On the island, a white bird from the west dropped seeds that grew into watermelons (Tây Qua). He traded the fruit, regained the king's favor, and was restored to his position. The tale is an etiological myth about the origin of watermelons in Vietnam, but is anachronistic: Citrullus lanatus only reached East Asia in the 10th century CE. The story does not appear in any of the three major Vietnamese dynastic histories. His temple at Nga Sơn (Thanh Hóa) holds national heritage status.

The Story

Mai An Tiêm was not born in the land he made famous. Long ago, in the days of the Hùng Kings, a merchant ship from a distant country put in at a harbor of Văn Lang, the old Việt kingdom, and aboard was a boy of seven or eight, bright-eyed and quick with his answers. The king took a liking to him, bought him from the traders, and raised him at court. The boy grew into a man of fine bearing and quick mind, and whatever task he was given, he finished well. The king loved him, gave him the name Mai Yển and the style An Tiêm, found him a wife, and kept him close as a personal attendant. A son and a daughter were born to the couple. Goods filled the house year by year; servants came and went at the gate. The child once sold off a ship’s deck had become a man of rank at court.

People looked at all this and said An Tiêm was blessed, that everything he had was the king’s gift. An Tiêm himself thought otherwise. The wealth in this house, he said, is mine from a former life; I owe it to no one’s favor. The words made their way to the king’s ear, and the king’s anger was terrible. A slave I bought, raised, married off, and lifted into office, and he says he owes me nothing. The court gathered to set a punishment. Some called for his death; some would have the tendons of his heels cut, so he could never walk far again. At last an old counselor spoke: killing him is too easy. Send him instead to the bare sandbar beyond the river mouth, and let him see whether these possessions from a former life will feed him where there is nothing at all. The king agreed, and the whole family was sent to a sandbar off the coast of Nga Sơn.

A government boat carried the four of them out, set them on the sand, and turned back for the mainland. The bar lay alone between sky and water: white sand, a few wind-bitten shrubs, and no tracks anywhere but the tracks of birds. The wife held her two children and wept, saying the family would die in that place. An Tiêm said: “Heaven gave me life. Life and death rest with Heaven and with me. Why should we worry?”

He was as good as his word. Husband and wife cut brush for a hut and piled stones for a sleeping place. Every day they went down to the waterline for clams and snails, gathered wild greens along the dunes, and caught rainwater to drink. So they lived, lean days and better ones, through one season of wind after another.

Then one morning a white bird came flying out of the west. It circled the sand spit, let fall a few small black seeds, and beat its wings away over the water. Before long, strange vines rose where the seeds had fallen, creeping plants with deep-cut leaves that ran across the hot sand as if they had been made for it. The vines flowered and set great round fruits with rinds of glossy dark green, lying scattered over the beach. The family looked at the strange fruit, and no one dared taste it. Then one day a flock of crows dropped onto the patch, hacked a fruit open, and ate greedily at what was inside. An Tiêm told his wife: what the birds can eat, people can eat. He split one open. Under the green rind the flesh was bright red, set with rows of black seeds, and the juice ran out sweet. On sand that burned the soles of the feet, that red flesh was as cooling as plunging both hands into a spring. Because a bird from the west had carried the seeds, An Tiêm named the fruit Tây Qua, the western melon.

Husband and wife saved the seeds, and the next season planted the whole beach. The vines loved the sand; the melons came faster than the family could eat them. An Tiêm thought of trading the surplus for other goods, but who would come to a nameless bar in the middle of the sea? So he carved his name into the rinds of melons and gave them to the tide. The fruit drifted ashore, fishermen hauled it in, cut it open, found it sweeter than anything they knew, and followed the currents back to its source. Merchant boats heard of it and came as well, bringing rice, cloth, and tools to barter for melons. The bar that had no name became, little by little, a place where boats called.

Word of a strange fruit, green outside and red within, reached the capital at last. The Hùng King tasted it, found it cool and sweet beyond anything at his table, and asked where it had come from. From the sandbar at Nga Sơn, he was told, from the very man he had banished years before. The king sat a long while in silence, then sighed: “He said it was his from a former life. The words were no lie.” He sent envoys across the water to bring the whole family home, returned An Tiêm to his old post, and granted him more servants. An Tiêm brought melons back as an offering to the king, and from then on the seeds traveled with people into every region.

The sandbar where he had lived came to be called Bãi An Tiêm, An Tiêm’s Beach, and the village that rose there was called Mai Village; tradition places that ground in today’s Nga Sơn district, Thanh Hóa province. Later generations remembered the melon grower better than the sentence that sent him into the sea: they raised a temple to him on that same ground, and to this day they call him the father of the watermelon.


The figure in the Tây Qua truyện

Mai An Tiêm enters the written record in the Tây Qua truyện (西瓜傳, Tale of the Western Melon), story no. 8 or 9 of the Lĩnh Nam Chích Quái depending on the recension. Outside that text and its descendants (oral retellings, schoolbooks, modern novels), no old source records him; the dynastic histories are silent. He is a wholly legendary figure, existing through a tale, a temple at Nga Sơn, and a fruit, not through the annals.

For the full plot, the manuscript tradition, the narrative structure, and the botanical analysis of the tale itself, see the entry The Origin of the Watermelon (Tây Qua truyện). This entry concentrates on the figure.

Variants and revisions across the textual tradition

It looks like a simple folktale. But each version added or removed details, and the differences tell you more about the editors than about An Tiêm.

The wife’s name. The classical Chinese original gives her no name. The oral version collected by Nguyễn Đổng Chi (Treasury of Vietnamese Folktales, vol. II, 1957) calls her Nàng Ba (Third Lady). Tô Hoài’s 1970 novel The Deserted Island renames her Nàng Hoa (Flower Lady). Twentieth-century school textbooks followed Nguyễn Đổng Chi. So “Nàng Ba” is a product of 20th-century oral tradition, not of the 14th-15th-century text.

Which Hùng King? The original says only “during the Hùng King’s reign”, with no number. The convention of “the 17th” or “the 18th” is a later popular invention. Nguyễn Trọng Thuật’s 1925 novel The Red Melon writes “the 18th” in one passage. Oral versions collected by Đỗ Thận and Nguyễn Văn Ngọc during the French colonial period alternate between 17 and 18. There is no basis in the source text for either number.

“Gifts are worries, favors are debts.” This famous Vietnamese proverb (Của biếu là của lo, của cho là của nợ) is firmly attached to An Tiêm in collective memory. But it does not appear in the classical Chinese original. The source text records An Tiêm claiming his wealth as “possessions from a former life”, closer to a Buddhist concept of karmic inheritance than a folk aphorism. The proverb is a 20th-century embellishment.

Differences between Chinese-text recensions. According to Nguyễn Hữu Vinh, the base text (HV 486) is terse, ending with the recall to court. Recension A.2914 is longer, adding the “past-life possessions” phrase and explicitly naming Nga Sơn, Thanh Hóa. The island name also shifts: Nham 岩 (rock) in some copies, Giáp 莢 (pod) in others, blank in still others. The A.2914 ending carefully anchors the legend to contemporary geography: “said to be in An Tiêm village, Nga Sơn district.”

Expanded oral versions. Collections by Đỗ Thận, Nguyễn Văn Ngọc, and Vietnamese-language primary school textbooks add a scene of the court debating An Tiêm’s sentence: some officials propose execution, some propose hobbling, and finally an old counselor suggests exile so An Tiêm can learn his lesson on his own. None of this is in the classical Chinese text; it serves the dramatic structure of a children’s story.

Absent from official history

Mai An Tiêm exists entirely within the Lĩnh Nam Chích Quái and oral tradition.

Việt Điện U Linh Tập (Lý Tế Xuyên, 1329): absent. The book records 27 spirits who received court investiture; its editorial principle excludes mythical-narrative characters. One coincidence deserves a line: Lý Tế Xuyên held the title “Transport Commissioner of An Tiêm circuit”, a Trần-dynasty administrative unit in modern Nam Định, according to Aurousseau. The place-name matches the character’s name, but that appears to be coincidence rather than origin.

Đại Việt Sử Ký Toàn Thư (Ngô Sĩ Liên, completed 1479; Nội các edition 1697): the Outer Annals, vol. 1, covers the Hùng Vương period in general terms only: the Hồng Bàng clan, Kinh Dương Vương, Lạc Long Quân and Âu Cơ, 18 reigns of Hùng kings ending with Thục Phán’s conquest. No mention of Mai An Tiêm.

Khâm Định Việt Sử Thông Giám Cương Mục (Nguyễn-dynasty Bureau of History, 1856-1881): same pattern. General coverage. No An Tiêm.

This separates An Tiêm from Âu Cơ and Lạc Long Quân: those two were promoted into official history by Ngô Sĩ Liên in 1479, even if hedged with skeptical brackets. An Tiêm never crossed that line. He remained in the realm of legend.

Where the real watermelon came from

The tale calls the fruit “Tây Qua” 西瓜, “western melon.” The story’s explanation: the bird carried the seeds from the west, so that is what An Tiêm named the fruit. This is folk etymology. The Chinese name “xīguā” (西瓜) also means “western melon”, but the “west” in question is Central Asia (the Uyghur/Khitan steppe), not a compass direction in a legend.

Botany supplies the real answer. Citrullus lanatus originated in northeastern Africa, in the Sudan-Egypt-Libya corridor. Wild watermelon seeds dated to roughly 5,000 years ago were found at Uan Muhuggiag in southwestern Libya (van der Veen & Wasylikowa, Vegetation History and Archaeobotany 13/2004). Egyptian tomb paintings from around 2350 BCE show large striped fruits. Recent genomic studies (Renner et al., Annals of Botany 116/2, 2015) identify the closest ancestor as Kordofan melon (C. lanatus subsp. cordophanus) from Sudan.

Watermelons reached China late. The earliest record: Hú Qiáo 胡嶠, an envoy of the Later Jin dynasty held captive by the Khitans for seven years (947-953), wrote in the Xiànlǔ Jì 陷虜記 (cited in Ōuyáng Xiū’s New History of the Five Dynasties) that the Khitans obtained watermelon seeds after defeating the Uyghurs (924 CE) and grew them using cow dung, producing fruits the size of winter melons with a sweet taste. The fruit reached the Chinese heartland with Hóng Hào 洪皓 (1088-1155), a Southern Song envoy held by the Jin for fifteen years, who brought seeds back in 1143. Lǐ Shízhēn summarized in the Běncǎo Gāngmù (1578): “According to Hú Qiáo, the melon seed was obtained from the Uyghurs, hence the name ‘western melon.’ Thus watermelon entered China during the Five Dynasties.”

The consequence for the legend: watermelons could not have reached Vietnam before the 12th-13th century CE, via Southern Song trade with Đại Việt during the Lý-Trần period. The story places watermelons in the Hùng Vương era (traditionally dated 2879-258 BCE), a chronological gap of roughly 2,000 to 3,000 years. The Tây Qua truyện in the Lĩnh Nam Chích Quái (composed late 14th century, edited late 15th century) reflects the author’s own time, when watermelons had been cultivated in Đại Việt for perhaps 200-300 years, projected backward onto the age of national founding.

The Vietnamese word “dưa hấu” itself is etymologically unclear. Some folk dictionaries claim “hấu” derives from a Sino-Vietnamese reading of “red” (hồng/hỗ), but this too is folk etymology. It is more likely a native Vietic word.

Comparative motifs

No ATU/AaTh code has been formally assigned to the Tây Qua truyện in Uther’s (2004) tale-type index or Thompson’s Motif-Index. But the story combines several internationally indexed motifs: A2611 (divine origin of plants), B450 (helpful birds), L111.4/5 (exiled hero becomes a culture-bearer), Q411 variant (exile as punishment, ending in pardon), N440-N499 (lucky discoveries). The “message on a floating object” motif, An Tiêm carving his name on rinds and setting them adrift, recalls type AT 736A, “The Ring of Polycrates” (an object cast into the sea that returns).

Chinese comparison. Chinese literary sources have no mythological origin story for watermelon. Hú Qiáo, Hóng Hào, and Lǐ Shízhēn all describe the introduction route in practical, material terms, with no divine bird and no exiled hero. The Vietnamese legend is altogether different: it turns a late-arriving foreign fruit into a product of national genesis.

Southeast Asian parallels. The motif of “culture hero exiled, discovers a crop” appears in Malay-Indonesian folklore (origin tales of rice, durian, coconut) and Lao-Thai tradition (exiled prince or princess discovers a food source). No exact match with the An Tiêm story exists, but the shared structure of exile, trial, miraculous discovery, and restoration is widespread across mainland and island Southeast Asia.

Robinson Crusoe before Robinson. Nguyễn Trọng Thuật, when he novelized the legend as The Red Melon (1925), was aware of the parallel with Robinson Crusoe and Gulliver’s Travels and subtitled his book “adventure novel.” Literary critics Vũ Ngọc Phan (Vietnamese Writers, vol. I, 1942) and Phạm Thế Ngũ both noted the connection. An Tiêm, exiled to a barren island, forced to survive by wit and labor, re-establishing contact with the outside world through trade, is a “pre-Defoe Robinson” embedded in Vietnamese oral tradition.

Providence. An Tiêm’s declaration (“Heaven gave me life; life and death rest with Heaven and with me”) and the bird arriving from the west with seeds are archetypal expressions of divine providence. Trần Đình Hoành (2010) notes in his commentary on the Chinese text that “possessions from a past life” aligns with Buddhist karmic theory, while “the west” carries a Buddhist resonance, the direction from which the Dharma entered Vietnam.

Modern fiction: the story gets a body

Nguyễn Trọng Thuật (1883-1940, pen name Đồ Nam Tử) published The Red Melon (Quả dưa đỏ) in 1925 in Hanoi, serialized in Nam Phong tạp chí and awarded the Hội Khai Trí Tiến Đức literary prize the same year. It was one of the first quốc ngữ novels from northern Vietnam, appearing in the same year as Hoàng Ngọc Phách’s Tố Tâm. Thuật expanded the tale into an adventure narrative: An Tiêm becomes an explorer, the island becomes a Robinson space.

Tô Hoài wrote The Deserted Island (Đảo hoang) for young readers (NXB Kim Đồng, 1970). Major changes: the wife becomes Nàng Hoa, the children are named Mon (boy) and Gái (Girl), with a third child Mai Li added. It is Mon, not An Tiêm, who discovers the watermelon seeds dropped by a pheasant. The opening is set at “Bãi Lở” (the Văn Lang capital), where An Tiêm tames water buffalo to control floods. Phan Cự Đệ (Twenty-Year Proceedings, 1977, p. 494) read the novel as expressing “the strength of human will and tenacity bonded to the legend of conquering nature.”

Both works did the same thing: took a few hundred characters of classical Chinese prose and inflated it into a full narrative with psychology, internal conflict, and explicit moral lessons that the spare original never bothered with. The Tây Qua truyện in its original form is dry and flat; its arc is almost transactional. Modern literature gave it blood.

Temple, festival, and a branded melon

The Mai An Tiêm Temple stands in Văn Đức hamlet, Nga Phú commune, Nga Sơn district, Thanh Hóa province, about 30 km northeast of Thanh Hóa city. It sits inside the arc of the An Tiêm mountain range, its back against Đồng Cổ mountain. The layout is chữ Đinh (丁-shaped): five front bays, three rear bays for the inner sanctum. Artifacts include a bronze statue of Mai An Tiêm, four antique royal writs of investiture (three on aged yellow paper, one on pale white), and horizontal board inscriptions with parallel couplets. The temple holds National Historical-Cultural Heritage status.

The island from the legend, through millennia of alluvial accretion, has long since merged with the mainland. Locals call it “Châu An Tiêm” (An Tiêm Islet). Nearby: Huyền Châu cave.

The Mai An Tiêm Festival runs from the 12th to the 15th of the third lunar month annually. A “Grand Festival” is held every three years at provincial scale. Rituals: procession of the ancestral writ from Văn Đức village to the temple, incense offerings, formal sacrifices, recitation of invocations. The public portion: performances reenacting the An Tiêm legend and displays of OCOP products.

An Tiêm is venerated as “Saint An Tiêm,” “Patriarch of agriculture,” and “Father of the watermelon.”

The “Mai An Tiêm Watermelon” geographical indication is being revived as a brand in Nga Sơn (Báo Thanh Hóa). Streets named after Mai An Tiêm exist in Nha Trang, Ho Chi Minh City, and several other provinces. Vietnam Post has issued a commemorative stamp set, “The Legend of Mai An Tiêm,” with four stamps and one souvenir sheet.

Three lines to keep straight

The An Tiêm story sits at the intersection of legend, official history, and modern scholarship. The three say different things.

Legend (LNCQ + oral tradition): Mai An Tiêm was real, lived under the Hùng Kings, received watermelon seeds from a western bird, was exiled to Nga Sơn island.

Official history (Toàn Thư, Cương Mục): silence. No mention of An Tiêm. No confirmation, no denial. The record simply omits him.

Modern scholarship: Mai An Tiêm is a mythical figure with no archaeological support. Watermelons only reached East Asia in the 10th century CE, arriving in Đại Việt at the earliest in the 12th-13th century, thousands of years after the traditional Hùng Vương dates. The temple and investiture writs are products of later folk religion (the writs typically date from the Lê or Nguyễn dynasties). The island at Nga Sơn is now mainland due to alluvial buildup; linking the legend to the locale is memory-construction, not evidence.

The story persists because of the values it encodes: self-reliance, persistence, creativity in the face of adversity. An Tiêm was stripped of title, house, and social bonds, and rebuilt everything from a seed, literally and figuratively. That structure does not need precise dates to carry weight. The three lines above only need to stay visible when the story is cited: which part is tale, which is history, which is a research conclusion.

  1. Trần Thế Pháp (composed c. late 14th century), Vũ Quỳnh and Kiều Phú (edited 1492-1493). Lĩnh Nam Chích Quái . Tây Qua truyện (西瓜傳, Tale of the Western Melon), story no. 8 or 9 depending on recension . Đinh Gia Khánh and Nguyễn Ngọc San, NXB Văn hóa 1960 (137 pp.), reprinted NXB Kim Đồng 2017 (illus. Tạ Huy Long); Classical Chinese text: Trần Khánh Hạo ed., Việt Nam Hán Văn Tiểu Thuyết Tùng San, Học Sinh Thư Cục, Taipei 1992 (base text HV 486, collated with VHV 1473 and VHV 2914).

    At least 11 manuscript copies survive. Recension A.2914 is longer than the base text, adding the 'possessions from a past life' detail and specifying the Nga Sơn locale. The island name varies: Nham Sơn 岩山, Giáp Sơn 莢山, or unnamed.

  2. Nguyễn Đổng Chi. Kho tàng truyện cổ tích Việt Nam (Treasury of Vietnamese Folktales) . Vol. II, 'The Origin of the Watermelon', tale no. 1, section 'I. Origins of Things' . NXB Sử học/KHXH, Hanoi, 1957-1982 (5 vols.); 10th printing NXB Trẻ and NXB Giáo dục 2023, ~1,550 pp..

    Oral-tradition version adds: wife named Nàng Ba, the proverb 'Gifts are worries, favors are debts,' crows pecking at strange fruit, An Tiêm carving his name on rinds and floating them out to sea.

  3. Lý Tế Xuyên. Việt Điện U Linh Tập (粵甸幽靈集) . c. 1329.

    Does NOT contain the Mai An Tiêm story. Notable coincidence: Lý Tế Xuyên held the post of 'Transport Commissioner of An Tiêm circuit', a place-name in Trần-era Nam Định that shares the character's name.

  4. Ngô Sĩ Liên. Đại Việt Sử Ký Toàn Thư (大越史記全書) . Completed 1479. Nội các quan bản 1697..

    Does NOT mention Mai An Tiêm. Outer Annals vol. 1 covers the Hùng Vương period only in general terms.

  5. Quốc Sử Quán, Nguyễn dynasty. Khâm Định Việt Sử Thông Giám Cương Mục (欽定越史通鑑綱目) . 1856-1881.

    Does NOT mention Mai An Tiêm.

  6. Henri Maspero. Études d'histoire d'Annam. IV. Le Royaume de Văn-lang . BEFEO 18/3 (1918), pp. 1-36 .
  7. Émile Gaspardone. Bibliographie annamite . BEFEO 34 (1934), pp. 1-174 .
  8. Liam C. Kelley. The Biography of the Hồng Bàng Clan as a Medieval Vietnamese Invented Tradition . Journal of Vietnamese Studies 7, no. 2 (2012), pp. 87-130 .
  9. Keith Weller Taylor. Comments on Liam Kelley's article . JVS 7/2 (2012) .
  10. Nguyễn Trọng Thuật. Quả dưa đỏ (The Red Melon) . Hanoi, 1925 (serialized in Nam Phong tạp chí; book edition 1927). Prize, Hội Khai Trí Tiến Đức, 1925..
  11. Tô Hoài. Đảo hoang (The Deserted Island) . NXB Kim Đồng, Hanoi 1970.
  12. Susanne S. Renner et al.. Origin and emergence of the sweet dessert watermelon, Citrullus lanatus . Annals of Botany 116/2 (2015), pp. 133-148 .
  13. M. van der Veen & K. Wasylikowa. An archaeobotanical contribution to the history of watermelon . Vegetation History and Archaeobotany 13 (2004) .
  14. Lý Thời Trân (Li Shizhen). Bản Thảo Cương Mục (本草綱目) . 1578.
  15. Bùi Duy Tân. Truyện ngắn Việt Nam: Lịch sử, Thi pháp, Chân dung . p. 127 . NXB Giáo dục, 2007.

Local network