Tamelabo 日本語

Japanese History in 5 Minutes#13

Battle of Baekgang: How Did Defeat Change Japan? | 5-Minute Japanese History #13

The flow in three lines

  1. Losing at Baekgang in 663 gave Japan a defense network against attack from the sea, and a register that counted its people.
  2. From 664, border guards, signal fires and the Mizuki wall went up, then Korean-style mountain forts such as Ōno Castle.
  3. The capital moved to Ōmi-Ōtsu in 667, Emperor Tenji took the throne in 668, and Japan's first census register followed in 670.

Also calledBattle of BaekgangBattle of Hakusonko 663Mizuki wall DazaifuOno Castle Korean-style fortressKogo census register 670ancient Japan signal fires

Video

Pressing play loads the YouTube player on this page. Watch on YouTube

Explained

The short version

  • In AD 660, the Korean kingdom of Baekje, Japan's closest ally on the peninsula, was destroyed by Tang China and the rival Korean kingdom of Silla. A Japanese diplomatic mission that happened to be in China at the time — Iki no Hakatoko among them — was told it "may not go home" until the campaign was over.
  • Baekje loyalists such as the general Gwisil Boksin rose up to win their country back (the movement to restore Baekje) and asked Japan for help. Empress Saimei traveled all the way to Kyushu, Japan's southwestern island facing Korea, to direct the rescue, but died there in 661. Her son, Prince Naka-no-Ōe, sent armies under generals including Abe no Hirafu.
  • In 663, at the Battle of Baekgang (Hakusonkō in Japanese), the Japanese fleet was crushed by Tang and Silla. Baekje exiles fled to Japan on the surviving ships.
  • Expecting an invasion, Japan's rulers built a defense network: border guards (sakimori) and signal fires (tobuhi) on Tsushima, Iki, and Kyushu; a giant earthen wall called Mizuki, the "Water Fortress"; and Korean-style mountain fortresses such as Ōno Castle, laid out by Baekje exiles.
  • In 667 the capital moved inland to the Ōmi-Ōtsu Palace by Lake Biwa. In 668, Tang and Silla destroyed Goguryeo, the great kingdom of northern Korea, and Naka-no-Ōe took the throne as Emperor Tenji. Work went ahead on written laws (later called the Ōmi Code), and in 670 Japan made its first nationwide census register, the Kōgo register — about 400 years before England's Domesday Book.

In one line: the defeat at Baekgang gave Japan a defense network against attack from the sea and a register that counted everyone in the land. Losing pushed Japan to change fast, into a centralized state run by written law.

Key names and terms

In the order they appear in the story.

  • Tang China: The great Chinese empire of the 600s, with its capital at Chang'an (today's Xi'an). Allied with Silla, it destroyed Baekje (660) and Goguryeo (668).
  • Iki no Hakatoko: A member of the Japanese mission that reached China in 659. The Tang emperor told the envoys: "Next year we will surely make war east of the sea. You guests from Wa may not return east." They were kept behind closed doors in Chang'an, released only after Baekje fell, and reported back at Asakura in Kyushu in May 661. His own account survives as quotations in Japan's official chronicle, the Nihon Shoki.
  • Silla: A kingdom in southeastern Korea. It sided with Tang against Baekje and Goguryeo — and later fought Tang itself and unified most of the peninsula.
  • The fall of Baekje (660): Tang ships and a Silla army attacked from both sides; Baekje's capital fell and its king was captured.
  • Empress Saimei: A woman ruler who held the throne twice (first as Empress Kōgyoku). She set out for Kyushu to support the rescue and died at Asakura in July 661.
  • The movement to restore Baekje: Loyalists led by Gwisil Boksin fought on and brought back Prince Buyeo Pung, who had been living in Japan, to be king. It collapsed in 663 after the prince killed Boksin and the allied fleet was destroyed.
  • Abe no Hirafu: A general who, in 658–660, led fleets of 180–200 ships up the Japan Sea coast to the far north, making local peoples submit. He was later named a commander of the armies sent to rescue Baekje. The chronicle does not say whether he fought at Baekgang itself.
  • The Battle of Baekgang (663): Fought near the mouth of the river known as Baekgang, in southwestern Korea. In Japanese it is read Hakusonkō or Hakusuki-no-e.
  • Baekje exiles: People who lost their country and crossed to Japan. Their skills — fortress building, medicine, military science, Chinese learning — were put to work by the Japanese court.
  • Mizuki ("Water Fortress"): An earthen wall built in 664 across the plain in front of Dazaifu, the government headquarters in northern Kyushu. About ¾ mile (1.2 km) long and about 23 ft (7 m) high, with a moat about 200 ft (60 m) wide on the seaward side. It was made of thin layers of pounded earth.
  • Signal fires (tobuhi): Beacon fires lit on hilltops to warn of an enemy. Set up in 664 on Tsushima, Iki, and Kyushu.
  • Ōno Castle: A mountain fortress built in 665 on the hill north of Dazaifu, laid out by Baekje exiles, among them Eongnye Bongnyu. Its walls run about 5 miles (8 km).
  • Korean-style mountain fortresses: Forts that follow the ridgelines with earthen and stone walls, as Baekje built them — Ōno, Kii, Kaneda on Tsushima, Yashima, Takayasu, and others.
  • Defense network: Walls, mountain forts, beacons, and border guards together, guarding the sea route to the capital.
  • Ōmi-Ōtsu Palace: The new capital of 667, on the shore of Lake Biwa, far from the sea. The chronicle notes that many people did not want to move.
  • The fall of Goguryeo (668): The great kingdom of northern Korea was destroyed by Tang (and Silla). After this, no kingdom remained in Korea to ally with Japan.
  • Emperor Tenji: Prince Naka-no-Ōe. He ruled without taking the throne after his mother's death, was enthroned in 668, and died in December 671.
  • The Ōmi Code: A set of laws said to date from Tenji's reign. Later sources mention "the code of the Ōmi court," but no copy survives, and historians still debate whether a full written code ever existed.
  • The Kōgo census register (670): Japan's first nationwide household register, named after the year's name in the sixty-year calendar. It has not survived, but later governments treated it as the master record of families and status for centuries.

Cause and effect, 659–671

Cause and effect
Cause and effect
660: Tang and Silla attack Baekje from both sides (kingdom areas approximate)
660: Tang and Silla attack Baekje from both sides (kingdom areas approximate)
The defense network built 664–667 (dates from the Nihon Shoki)
The defense network built 664–667 (dates from the Nihon Shoki)
  1. Defeat in Korea → an urgent need for defense. Tang held Japan's envoys while it destroyed Baekje; Japan's rescue fleet was then destroyed at Baekgang.
  2. A defense network → a system for watching and calling up men. Guards and beacons on the islands, the Mizuki wall, and mountain forts guarded the road from the sea to the capital.
  3. Registers and laws → a state that counted people for soldiers and taxes. A new capital, a new emperor, written laws, and the Kōgo register.
Timeline
Timeline
YearEventOur farmer's age (fictional)
659Japanese envoys, including Hakatoko, go to Tang China15
660Tang and Silla destroy Baekje16
661Hakatoko returns; Empress Saimei dies in Kyushu17
663Battle of Baekgang19
664Guards, beacons, the Mizuki wall20
665Ōno and Kii castles21
667Capital moves to Ōmi-Ōtsu; more forts23
668Goguryeo falls; Naka-no-Ōe becomes Emperor Tenji24
670The Kōgo census register26
67147 Tang ships arrive; Tenji dies27

Did the signal fires really reach? (our calculation)

Beacon sight lines
Beacon sight lines

The Nihon Shoki says only that beacons were placed "on Tsushima, Iki, and in Tsukushi (northern Kyushu)." Could a fire on Tsushima really be seen across the sea? We checked with Japan's official elevation data (from the Geospatial Information Authority of Japan) and the curvature of the Earth.

  • Method: We split each sight line between two hilltops into 200 points, added the ground height (sea = 0) and the bulge caused by the Earth's curve, and checked whether anything rose above the line. The fire is 16 ft (5 m) above the summit; the observer's eye is 5 ft (1.6 m) above ground. Normal atmospheric refraction (k = 0.13) is included; we also tried k = 0 and k = 0.2. This is for a clear night, terrain and curvature only.
  • The hills are examples. Nobody knows exactly where the 7th-century beacons stood. We used the hills of two recorded forts (Kaneda on Tsushima, Ōno above Dazaifu) and Iki's highest point, Takenotsuji.
Fire → observerDistanceResult
Tsushima → Ikiabout 46 mi (73.6 km)Visible, with about 130 ft (40 m) to spare
Iki → Ōno Castleabout 48 mi (77.8 km)Visible, with about 150 ft (46 m) to spare
Tsushima → Ōno Castle, directabout 88 mi (142.2 km)Right at the horizon — about 38 ft (11.5 m) short; it depends on the air
Iki → the beach at Hakataabout 41 mi (65.3 km)Hidden by the curve
Side view, Tsushima to Ōno
Side view, Tsushima to Ōno

Halfway between Tsushima and Ōno, the curve of the Earth lifts the sea by more than 1,000 feet (about 340 m) relative to the straight line between the two hills. That is why a relay fire on Iki was needed — and why the fires burned on hilltops, not on the shore.

Beacon chains like this were used around the world: along China's Great Wall, and in 1588, when English beacons passed word of the approaching Spanish Armada.

A real farmer-soldier: Ōtomobe no Hakama

Our hero is fictional, but the chronicle preserves the story of a real soldier from northern Kyushu. Ōtomobe no Hakama was captured by the Tang during the war. When fellow captives, including Lord Satsuyama of Tsukushi, wanted to get home to warn Japan of Tang plans but had no money for the journey, Hakama sold himself into servitude to pay for it. He stayed behind and only returned to Japan around 690, nearly thirty years later. The court honored him for his loyalty.

Frequently asked questions

When and where was the Battle of Baekgang?

In August 663, near the mouth of the Baekgang river in southwestern Korea (usually identified with the lower Geum River). Japanese and Baekje forces were defeated by Tang China and Silla.

Why did Japan send an army to Korea?

Baekje had been Japan's close partner for generations, and one of its princes was living in Japan. When Baekje fell in 660, its loyalists asked Japan to help restore the kingdom, and Empress Saimei and Prince Naka-no-Ōe agreed.

Did Tang China actually invade Japan?

No. Tang envoys arrived in 671 with 47 ships and 2,000 people, but not to invade. By then, Tang and Silla were fighting each other over Korea (about 670–676).

What was the Kōgo register, and does it survive?

Japan's first nationwide census register, made in 670, listing people household by household so the state could call up soldiers and collect taxes. It has not survived.

Did the Ōmi Code really exist?

Historians disagree. Later books say Emperor Tenji issued a code, but the Nihon Shoki never records it and no copy survives. What is certain is that his court was working to put the rules of the state into writing.

Can you visit these sites today?

Yes. The Mizuki wall and Ōno Castle are in Fukuoka Prefecture, near Dazaifu; Kaneda Castle is on Tsushima. All are protected as Special Historic Sites of Japan.

Sources

Where the facts and numbers in the video and on this page come from.

References

  1. "Next year we will surely make war east of the sea. You guests from Wa may not return east." (659) — Tang kept Japan's envoys from going home before it attacked Baekje. No reason is given.
  2. "If we rush in first, they will fall back of their own accord." (663) — Japan's commanders charged into the Tang line without a plan and were trapped from both sides.
  3. "Today the name of Baekje has ended. How can we ever visit our ancestors' graves again?" (663) — the beginning of the Baekje exiles.
  4. "Guards and beacons were placed on Tsushima, Iki and in Tsukushi. A great wall was built in Tsukushi to hold water; it was named Mizuki." (664) — the defense network began all at once.
  5. "If we arrive without warning, their border guards will be startled and shoot at us." (671) — said by the Tang envoys (600 envoys and 1,400 escorts, 2,000 people in 47 ships), who sent four men ahead to explain why they had come.
  6. Nihon Shoki, books 26, 27, and 30 (original text: Chinese Wikisource).
  7. The National Archives (UK), "Domesday Book."
  8. Notes: The course of the battle follows the Nihon Shoki. Whether the Ōmi Code existed is debated; both views are given. The chronicle does not place Abe no Hirafu at Baekgang, so we do not. The farmer and his family are fictional, created to witness recorded events.
  9. Photos (Wikimedia Commons): Mizuki wall (Saigen Jiro, CC0); Ōno Castle stone wall (Takashi Koike, CC BY 3.0); Kaneda Castle (Saigen Jiro, CC0); Mizuki wooden water conduit (Saigen Jiro, CC0).

Links

  1. Agency for Cultural Affairs, Cultural Heritage Online, "Mizuki site" (in Japanese)online.bunka.go.jp/heritages/detail/191902
  2. Japan Tourism Agency multilingual commentary database, "Ōno Castle ruins" (in Japanese)mlit.go.jp/tagengo-db/R5-00331.html
  3. Nihon Shoki (Chronicles of Japan), books 26 and 27 (classical Chinese, Wikisource)zh.wikisource.org/wiki/日本書紀
  4. Geospatial Information Authority of Japan, elevation data used for the beacon calculation (in Japanese)maps.gsi.go.jp/development/elevation_s.html

Voice, music, art

  • Voice: Kokoro (narrator) / Music (OpenTracks): “流るる時” by siroimu, “対決” by こおろぎ, “Rising sun/開明~渋沢栄一に捧ぐ~” by 田中芳典, “和の庭園” by Next Arco Recordings / Sound effects: Freesound (CC0) and our own / Photos via Wikimedia Commons: Saigen Jiro (CC0), Takashi Koike (CC BY 3.0) / Map data: Natural Earth / Elevation: Geospatial Information Authority of Japan / Illustrations: generated with ChatGPT

More

More from Japanese History in 5 Minutes

New in other series

Subscribe on YouTube