Skip to content
Astromantra
Journal2026-11-05I Ching

Who Was King Wen? The History Behind the I Ching

Open the I Ching and tradition tells you its oldest words were written by a man in prison. Ji Chang — posthumously called King Wen, "the Cultured King" — was a Zhou lord held captive by a tyrant, and legend says he composed the judgments of the 64 hexagrams in his cell. It's one of the great origin stories in world literature. How much of it is true?

The lord of Zhou

What history can confirm: Ji Chang was a real person, a powerful vassal lord of the Zhou people in the 11th century BCE, living under the Shang dynasty. The Shang king at the time, remembered as King Zhou (a different Zhou — the name is a coincidence of transliteration), was, by every traditional account, a spectacular tyrant: extravagant, cruel, indifferent to counsel.

Ji Chang's virtue and growing power made him a threat. The Shang king imprisoned him at Youli — the traditional story says for seven years. Whether the dungeon details are accurate, the political situation is plausible: a strong vassal, a paranoid overlord, a detention meant to neutralize a rival.

The legend of the prison book

The traditional account, recorded by the historian Sima Qian around 100 BCE, says that while imprisoned, Ji Chang "drew out" the hexagrams and attached the judgments (gua ci) — the short oracular statements at the head of each hexagram. His son Ji Fa, who would become King Wu, and Ji Chang's brother the Duke of Zhou (Dan) are traditionally credited with the line texts (yao ci), the individual line statements.

The family, in this telling, wrote the book together across a revolution: the father in prison, the sons in the war that followed.

The revolution

Ji Chang died before the end — around 1050 BCE by traditional dating. His son Ji Fa, King Wu, completed the work: he overthrew the Shang at the Battle of Muye, traditionally dated to 1046 BCE, and founded the Zhou dynasty, which would rule China for nearly 800 years.

This is why the I Ching's traditional arrangement of the 64 hexagrams is called the King Wen sequence. Whether or not he wrote a word of it, his name is on the architecture.

What scholars actually think

Here's the honest part: modern scholars treat the prison-composition story as legend, not documented history. The core text's language points to the early Western Zhou period (roughly 1000–750 BCE) — consistent with the era, but the text grew in layers over centuries, not in a single inspired imprisonment. The gua ci and yao ci show multiple hands and periods. We cannot verify who wrote which line.

But the legend matters anyway, because it shaped how the book was read for three thousand years. The image of the imprisoned sage transmuting suffering into wisdom is not just decoration — it tells the reader how to approach the text: as the work of someone who knew what it meant to wait, to endure, to act only when the moment was ripe. Hexagram 47 (Oppression/Exhaustion) and Hexagram 5 (Waiting) read differently when you picture the author in a cell.

The takeaway

King Wen the historical lord and King Wen the legend are different figures, and we should keep them distinct. The lord was a real 11th-century BCE vassal whose family founded a dynasty that would rule China for nearly eight centuries. The legend is the prisoner-sage who wrote wisdom under oppression — the patron saint of everyone who has ever had to wait. The I Ching belongs to both: its words were composed in the world the first man helped create, and its meaning was shaped by the story of the second. When you cast the coins and receive Hexagram 5 (Waiting) or Hexagram 47 (Oppression), you're reading words that tradition says were written by a man who lived them.

It belongs to our I Ching teaching, which follows the subject through three depths, from a first map to a complete treatise. The thread continues in How to Begin Studying the I Ching: A Practical Roadmap and Common Mistakes Beginners Make Reading the I Ching.

More essays