Khun Chang Khun Phaen (, ) is a long Thai epic poem which originated from a legend of Thai folklore and is one of the most notable works in Thai literature. The work's entire length is over 20,000 couplets. Khun Chang and Khun Phaen are the leading male characters, where "Khun" was a junior feudal title given for male commoners. The story recounts the adventurous and amorous struggles of the three main protagonists. Much of their relationship can be described as a love triangle. Khun Phaen (dashing but poor) and Khun Chang (rich but ugly) compete for the lovely Wanthong from childhood for over fifty years. Their stories transpire amid the larger backdrop of national events, including two wars, several abductions, a suspected revolt, an idyllic sojourn in the forest, two court cases, trial by ordeal, jail, and treachery. Ultimately the King of Ayutthaya condemns Wanthong to death for failing to choose between the two men.

The KCKP epic existed for a long time as an orally transmitted poem among Thai troubadours. The poem was first written down and published in printed form in 1872, and a standard edition first published in 1917–1918. Like many works with origins in popular entertainment, it is fast-moving and replete with heroism, romance, sex, violence, folk comedy, magic, horror, and passages of lyrical beauty. In Thailand, the story is universally known. Children learn passages at school, and the poem is a source of songs, popular aphorisms, and everyday metaphors. A standard edition of KCKP, as published by the National Library, is 1085-pages long. A complete English prose translation of KCKP was published by Chris Baker and Pasuk Phongpaichit in 2010.

Origins and sepha

Khun Chang Khun Phaen is an old folk story in the Thai language. It originated as a folk entertainment some time around 17th century, developed by storytellers who recited episodes for local audiences, and passed on the story by word-of-mouth. By the 18th century, such performances had become the most popular form of entertainment in Siam. The storytellers recounted the story in stylized recitation, using two small sticks of wood (krap) to give rhythm and emphasis. The performances typically lasted a full night.

The performance of Khun Chang Khun Phaen created a new genre known as sepha. For at least a century, only episodes from this work were known by this term. In the Fourth Reign (1851–1868), parts of the royal chronicles and a few other works were also rendered in this form on royal commission, but all but a few fragments have since disappeared.

The origin of this word sepha is disputed. There is a musical form of the same name, but this seems unconnected. Kukrit Pramoj thought that sepha meant a jail and that the genre was developed by convicts in jail. Sujit Wongthet argued a connection to the Sanskrit word sewa, indicating some original association with ritual.This section and the next draw on Prince Damrong’s account of the poem’s background.

Development as literature Beginning in the eighteenth century, prominent episodes from the story were written down. After the foundation of Bangkok in 1782, the new royal court made efforts to retrieve all kinds of texts which had survived the sack of Ayutthaya fifteen years earlier. Episodes of Khun Chang Khun Phaen were transcribed from earlier texts, or adapted from recitations by storytellers. No manuscripts of Khun Chang Khun Phaen have survived from the Ayutthaya era.

It became conventional to render these written versions in the then-popular poetic meter, klon (), especially the variant with eight-syllable lines known as klon paet. Performance of these episodes were popular in the court and among the aristocracy. In the Second Reign (1809–1824), the performance was often enhanced by adding music. From the Fourth Reign (1851–1868), dancing was also added and more than one performer might share the task of recitation.

Several chapters were written down by members of the literary salon of King Rama II (1809–1824). None of these works are signed, but certain chapters and part-chapters are conventionally attributed to King Rama II, the future King Rama III (r. 1824–1851), and the great poet Sunthorn Phu. Another member of the salon, Prince Mahasak Phonlasep, a son of King Rama I (1782–1809) and cousin of King Rama II, may also have contributed to the writing. Several other chapters were compiled later, probably during the reign of King Rama III, by Khru Jaeng, a performer of sepha and other forms of entertainment. Little is known of him except for an internal reference in the poem. For over half the 43 chapters in the standard version, the author is unknown.

Publication

A former missionary, Samuel J. Smith, printed the first book version in 1872, probably using a manuscript belonging to Somdet Chaophraya Borommaha Sisuriyawong. Another printed version was issued in 1889 by the Wat Ko Press. Five episodes composed by Khru Jaeng were printed around 1890.

The standard modern edition appeared in three volumes in 1917–1918, published by the Wachirayan Library, and edited by its head, Prince Damrong Rachanubhab. Damrong compiled from four sets of samut thai manuscripts and a few other fragments. The earliest of the manuscripts dated from the Fourth Reign (1851–1868). He selected what he believed were the best versions of each episode, and added some link passages. He deleted some passages which he considered obscene, and some which depended on topical jokes and other material which he felt were no longer comprehensible.

This standard edition is around 20,000 lines divided into 43 chapters. The main story ends in chapter 36, but a further seven chapters were included because the episodes were well-known and popular. Performers and authors had already developed many more episodes which extended the story down through three generations of Khun Phaen's lineage. Damrong decreed that these were not good enough as either narrative or poetry to deserve publication. Around fifty of these later chapters have since been published in various collections.

Synopsis

Khun Chang, Phlai Kaeo (who later is given the title Khun Phaen), and Nang Phim Philalai (who later changes her name to Wanthong) are childhood friends in Suphanburi. Khun Phaen is handsome and intelligent, but poor because the king has executed his father and seized their property. He enters the monkhood as a novice to get educated, excelling at military skills and love magic. Khun Chang is ugly and dim-witted, but rich and well-connected at the Ayutthaya court.

By age 15, Phim is the belle of Suphanburi. She meets Phlai Kaeo when putting food in his almsbowl at Songkran (Thai New Year). Sparks fly. They have a passionate affair, with him shuttling between the wat (Buddhist monastery) and her bedroom. Khun Chang is also smitten by Phim. He competes for her using his wealth and status. He offers to give her mother Phim's weight in gold. After Phlai Kaeo and Phim are married, Khun Chang maneuvers the king to send Phlai Kaeo on military service, and then claims he is dead. When Phlai Kaeo returns victorious, Khun Chang plots to have him banished from Ayutthaya for negligence on government service.

Phim (now Wanthong) resists Khun Chang's advance. But when Phlai Kaeo (now Khun Phaen) returns from war with another wife, they have a jealous quarrel. Wanthong goes to live with Khun Chang, enjoying his devotion and the comforts afforded by his wealth.

When Khun Phaen's second wife, Laothong, is taken into the palace by the king, Khun Phaen regrets abandoning Wanthong. He breaks into Khun Chang's house at the dead of night and takes Wanthong away. At first she is reluctant to leave her comfortable life, but the passion rekindles, and they flee to an idyllic but frugal sojourn in the forest.

Khun Chang, furious with the elopement, tries to frame Khun Phaen on the ground of treason. He tells the king that Khun Phaen is mounting a rebellion. The king sends an army which Khun Phaen defeats, killing two of its officers. A warrant is issued for his arrest. When Wanthong becomes pregnant, Khun Phaen decides to leave the forest and give himself up. At the court trial scene, the charges of rebellion are disproved. Khun Phaen is acquitted and Khun Chang is heavily fined.

Khun Phaen nevertheless angers the king by asking for the release of Laothong. He is jailed, and festers in prison for around twelve years. Khun Chang abducts Wanthong and they again live together in Suphanburi. Wanthong gives birth to Phlai Ngam, her son with Khun Phaen. When Phlai Ngam is eight, Khun Chang tries to kill him. Phlai Ngam escapes to live in Kanchanaburi with his grandmother who teaches him from Khun Phaen's library.

When the kings of Ayutthaya and Chiang Mai quarrel over a beautiful daughter of the King of Vientiane, Phlai Ngam volunteers to lead an army to Chiang Mai, and successfully petitions for Khun Phaen's release. They capture the King of Chiang Mai, and return with the Vientiane princess and a great haul of booty. Khun Phaen now gains status as the governor of Kanchanaburi. Phlai Ngam is appointed Phra Wai, an officer in the royal pages.

Khun Chang gets drunk at Phra Wai's wedding, and the old rivalry returns. Phra Wai abducts Wanthong from Khun Chang's house, prompting Khun Chang to petition the king for redress. At the subsequent trial, the king demands that Wanthong decide between Khun Chang and Khun Phaen. She cannot, and is dumb-struck. The king orders her execution because she is seen as a woman who has 'two hearts', a symbol of unfaithfulness. Phra Wai pleads successfully with the king for a reprieve, but the order arrives fractionally too late to avoid her execution.

Origins of the story Prince Damrong believed that the Khun Chang Khun Phaen story was based on true events which took place around 1500 in the reign of King Ramathibodi II. His evidence was a memoir believed to have been taken down from Thai prisoners in Burma after the fall of Ayutthaya in 1767 (Khamhaikan chao krung kao, The testimony of the inhabitants of the old capital). The memoir mentions the name of Khun Phaen in an account of a military campaign against Chiang Mai. However, this memoir is just as much a text of oral history as Khun Chang Khun Phaen itself, and could well have developed from the folktale, rather than vice versa. The campaign against Chiang Mai in the latter part of Khun Chang Khun Phaen seems to be modeled on events which appear in the Ayutthaya and Lan Xang chronicles for the 1560s.

The opening chapter of Khun Chang Khun Phaen mentions a gift from the Emperor of China which might be dated shortly before 1600. The third chapter has a date based on a 120-year calendar which can be resolved as 1549/50, 1669/70, or 1789/90.

Most likely Khun Chang Khun Phaen developed over decades or centuries by storytellers absorbing and embellishing several local tales and true stories. Prince Damrong surmised that the original version was much shorter and simpler: Khun Phaen woos and marries Wanthong but then goes to war; Khun Chang seizes her; Khun Phaen returns and in the ensuing squabble, Wanthong is condemned to death. The story then expanded as other episodes were assembled using these leading characters. The whole second half of the standard version shows signs of being an extension which repeats themes and episodes from the first half. Certain episodes are known to have been newly written and incorporated in the nineteenth century. Some episodes are known to be modeled on true events. The arrival of an embassy from Lanchang, for example, is based on the reception of an embassy from Tavoy at Ayutthaya in 1791.

Characteristics

Realism