The Origin of Monkey’s Battle with Lord Erlang and its Ties to Han Dynasty Funerary Rites and Folklore

Did you know the battle between Monkey and Lord Erlang is tied to Han Dynasty funerary rights and folklore? Wu (1987) notes that, during the Eastern Han Dynasty (25-220 CE), the people of Sichuan often buried their dead in stone tombs decorated with brave heroes, such as archers and crossbowmen, and fierce animals, such as tigers and hounds. Regarding the latter, the canines are sometimes depicted attacking or intimidating apes, which were considered emblems of disease or bad luck (fig. 1). Therefore, by portraying the subjugation of such evil forces, the carvings are thought to have served the ritual function of protecting deceased loved ones from dark influences on their wayward journey to the afterlife (pp. 100-101).

The idea of dogs overcoming apes should bring to mind Sun Wukong’s capture at the mouth of Lord Erlang’s loyal hound at the end of chapter six.

One recurring motif depicts an archer drawing his bow to fall an ape in a tree (fig. 2). This is based on a third-century BCE tale about the legendary Chu archer Yang Youji (養由基) shooting an elusive white ape held in the palace of the King of Jing. This in turn is based on an even older tale about the archer Yi (羿) bringing order to the primordial earth by killing nine of ten suns that took the form of monstrous crows. Han era tombs are known to portray Yi drawing a bow to shoot said birds flying around a tree, so it most likely influenced the motif of Yang shooting the ape in a tree (Wu, 1987, pp. 102-106). Despite his later connection with the three-pointed polearm, Erlang was also portrayed as an archer in early media.

Click the image to open in full size.

Fig. 1 – (Top left) A Han Dynasty tomb rubbing of oversized dogs intimidating apes (larger version). Fig. 2 – (Bottom left) A Han tomb decoration depicting an archer shooting at an ape (larger version). Fig. 3 – (Center bottom) The 13th-century painting depicting Erlang and his soldiers rounding up and executing ape demons. A captive ape can be seen on the bottom left between the two soldiers (larger version). Fig. 4 (Center right) A detail from the 15th-century painting showing the ape, his humanoid wives, and their gibbon-like children being rounded up (larger version). This section is located in the last four-fifths of the scroll. Fig. 5 – (Right) A detail showing Erlang near the front of the same scroll (larger version). His armor differs slightly from that of the 13th-century version. Also take note of how a young page holds his bow, while a spirit soldier bears his (slightly obscured) three-pointed polearm.


Lord Erlang was originally worshiped during the Han as a hunting god and queller of mountain ghosts by the Qiang (羌) ethnic group of the western Sichuan region. His cult grew and absorbed other deities and heroes under his mantle. For instance, Wu (1987) writes:

The Er-lang cult became even more popular in Sichuan under the patronage of the Later Shu emperor, Meng Chang 孟昶 (r. 934-65), and in 965, when the Song dynasty conquered the kingdom, it adopted the cult, erecting temples for the god in the capital and throughout the country.

When the Er-lang cult became increasingly popular in Sichuan, the previous divine archers such as Yang Youji and Yi, (like many other legendary demon-quellers), were mologized into this new cult, and their defeat of an ape demon became an important part of the Er-lang legend. Er-lang’s traits in later stories and art works clearly disclose this transformation (pp. 107-108).

It should also be noted that Erlang was at some point associated with the historical engineer Li Bing (李冰, c. 3rd-cent. BCE) and the official Zhao Yu (趙昱, c. 6th/7th-cent CE), both of whom were worshipped for defeating flood demons (Wu, 1987, p. 107). I suggest this may have led to his cult being connected to that of Yu the Great (大禹), the flood-queller par excellence in Chinese folklore. This is important because Tang Dynasty legends state Yu battled a simian water demon and eventually imprisoned it under a mountain (see Andersen, 2001). Sound familiar? This may have been another avenue in which Erlang was associated with quelling ape demons.

One anonymous 13th-century album leaf ink painting portrays Erlang seated in a kingly fashion and watching as his spirit soldiers round up and execute ape demons (fig. 3). One anonymous 15th-century scroll painting reproduces the scene in color, along with other animal spirits (fig. 4 and 5). The image of the deity as a queller of ape monsters culminated in an anonymous Yuan-Ming Dynasty play called The God Er-lang Locks up the Ape-Demon “Great Sage-Equal to Heaven” (二郎神鎻齊天大聖, Er-lang Shen suo Qitian Dasheng). Much like JTTW, the god is sent to capture a magical primate, in this case an ape, who has stolen immortal food and wine from heaven. (Wu, 1987, pp. 108-109). This no doubt influenced Monkeys mischief in heaven and subsequent battle with the deity.

See also:


Andersen, P. (2001). The demon chained under turtle mountain: The history and mythology of the Chinese river spirit Wuzhiqi. Berlin: G-und-H-Verl.

Wu, H. (1987). The earliest pictorial representations of ape tales: An interdisciplinary study of early Chinese narrative art and literature. T’oung Pao LXXIII, pp. 86-112.


Journey to the West and Islamic Lore

Last updated: 02-28-2018

Did you know that certain portions of JTTW were influenced by Indo-Persian and Arab Islamic lore? For instance, in chapter six Sun Wukong and Lord Erlang engage in a magical battle of skill in which they freely transform into myriad animals, each trying to one-up the other. This battle is unusual as Chinese stories going back to pre-Tang dynasty sources show characters could not transform at will. Conversely, One Thousand and One Arabian Nights (1704), which is based on stories as far back as the 9th-century, contains a tale featuring a magical battle of transformations between a princess and a genie. Literary critic C.T. Hsia (1996) notes that the similarities in magical combat “does not mean…the makers of the Monkey legend were specifically indebted to [the Arabian Nights], but it certainly indicates their general awareness of the popular literature of the Middle and Near East” (pp. 132-133).

Click the image to open in full size.

Fig. 1 – (Left) Modern pears grown in molds to imitate ginseng baby fruit. Fig. 2 – (Right)
A 14th to 15th-century illuminated manuscript depicting the women fruit of the Waqwaq tree (larger version).


Additionally, chapters 24 to 26 of JTTW features a magical ginseng tree (人參樹, renshen shu) that produces crying, baby-shaped ginseng fruits (人參果, renshen guo) capable of extending the lives of those who eat them to 47,000 years (fig. 1). Chapter 11 of the 13th-century version of JTTW features an immortal peach tree with fruits that transform into edible children once they drop into water. Each is capable of answering when asked a question. The concept of speaking, human-shaped fruit most likely comes from tales associated with those from The Book of the Wonders of India (Kitaab Ajaaib al-Hind), a set of Indo-Persian sailor stories collected between 900 and 953. For example, the 37th entry, titled “Deceitful fruit”, reads:

Muhammad b. Babishad told me that, according to what he had learnt from men who had been to the Waqwaq country, there is a large tree there, with round leaves, or sometimes oblong, which bears fruit like a marrow, only larger, and looking something like a human being. When the wind blows, a voice comes out of it. The inside is full of air, like the fruit of the usher. If one picks it, the air escapes at once, and it is nothing but skin (Buzurg & Freeman-Grenville, 1981, p. 39).

The 15th-century Arab historian Ibn al-Wardi took the concept further by describing the fruit as being shaped like voluptuous women (fig. 2) with the power of speech:

On this island are trees that bear as fruit women: shapely, with bodies, eyes, hands, feet, hair, breasts, and vulvas like the vulvas of women. Their faces are exceptionally beautiful and they hang by their hair. They come out of cases like big swords, and when they feel the wind and sun, they shout “Waq Waq” until their hair tears (Toorawa, 2000, p. 393).

Various sources respectively locate this “Waqwaq tree” and its home of “Waqwaq”, a faraway, exotic land or island, somewhere within the Indian Ocean, beyond Iraq, or, further still, beyond China. The Waqwaq term was most likely used to describe the limits of the known world at given times (Toorawa, 2000). The tree itself can possibly be traced to a passage in the Quran (Sura 37, verses 60-64) that describes how the “Tree of Zakkum” produces fruit shaped like the heads of demons. The earliest mention of the Waqwaq tree in Chinese sources appears in the late 8th-century Comprehensive Encyclopedia (通典, Tongdian) by the travel writer Du Huan (杜環). This is apparently based on an earlier Arabic source (A floral fantasy, n.d.).

Update: 02-28-2018

I was looking through the Ming-era Illustrated Encyclopedia of the Three Realms (三才圖會, Sancai tuhui, 1609) and happened upon a woodblock print of a Waqwaq tree (fig. 3). The image is labeled Dashi Guo (大食國), A term used since the Tang Dynasty to refer to an ancient country in the Arab World (Zhang & Unschuld, 2015, p. 81). This shows the Chinese were still aware of the tree’s foreign origin around the time that JTTW was published.


Fig. 3 – Woodblock print from the Illustrated Encyclopedia of the Three Realms showing the Waqwaq tree.


A floral fantasy of animals and birds (Waq-waq). (n.d.). Cleveland Museum of Art. Cleveland, Ohio. Retrieved May 12, 2017, from…0Waq%20waq.pdf

Buzurg, . S., & Freeman-Grenville, G. S. P. (1981). The book of the wonders of India: Mainland, sea and islands. London: East-West.

Hsia, C. (1996). The classic Chinese novel: A critical introduction. Ithaca, N.Y.: East Asia program, Cornell University.

Toorawa, S. M. (2000). WaÃq al-waÃq: Fabulous, fabular, Indian Ocean (?) island(s). Emergences, Volume 10 (2), pp. 387-402.

Zhang, Z., & Unschuld, P. U. (2015). Dictionary of the Ben cao gan mu: Volume 2 – Geographical and administrative designations. Oakland, California : University of California Press