661
Event · Asuka

The Baekje Restoration and Defeat at Baekgang

Year661—663PeriodAsukaLength10 chapters · about 4,200 words

Classic: the full article, 10 chapters · about 4,200 words Start at chapter 1 ↓

Historical significance

The defeat at the Baekgang ended Wa’s direct military involvement on the Korean peninsula; for a very long time afterward no large Japanese army went there. Fear that Tang and Silla would cross the sea produced a defensive system in western Japan, with the water fortress, Korean-style mountain forts, frontier guards and beacons, and the move to Ōtsu. It also hastened the centralization of power under Tenji and later Tenmu: the Kōgo register of 670 and the ritsuryō institutions of Tenmu’s reign and after can be read against the postwar sense of crisis. Baekje refugees skilled in military science, medicine, the Confucian classics and yin-yang learning supplied the new state with trained people.

The three groups of sources see the war from different places. The Nihon shoki, completed in 720, has the fullest record of the Wa expeditions, but its chronology was arranged after the fact, events such as Pung’s return appear twice, and its edicts and speeches were worked over. The Tang sources were written by the victors and celebrate Liu Rengui; the Samguk sagi of 1145, nearly five centuries later, carries Silla’s viewpoint. The size of the armies and whether there were four hundred Wa ships or a thousand are not accurate counts, and who moved first between Boksin and Pung and the exact site of the battle cannot be fixed. Why Wa took the risk has several compatible explanations: the old alliance, the Tang threat, and the chance to strengthen central control.

01The Fall of Sabi in 660

In the summer of 660 the Tang emperor Gaozong sent a combined land and sea expedition across the Yellow Sea under the general Su Dingfang. The Korean chronicle Samguk sagi (History of the Three Kingdoms) puts the Tang force at 130,000 men; the Zizhi tongjian gives 100,000 by land and sea. At the same time King Muyeol of Silla, Kim Chunchu, sent the general Kim Yusin westward overland with 50,000 troops. The two armies were to meet at Sabi, the royal capital of Baekje, near present-day Buyeo in South Chungcheong Province. This was a new approach for the Tang, whose repeated campaigns against Goguryeo in the north had failed: remove Goguryeo’s southern ally first, then close on Pyongyang from two sides.

King Uija of Baekje had reigned for nearly twenty years and had taken a string of Silla fortresses in the 640s and 650s, but he was not ready for a coordinated attack. His general Gyebaek met the Silla army at Hwangsanbeol with 5,000 men, won four engagements, and was then overwhelmed and killed with most of his force. The Tang fleet landed near the mouth of the Geum River, broke the coastal defenses, and marched on Sabi. In the seventh month of 660 the capital fell. Uija fled to the fortress of Ungjin and soon surrendered, together with the crown prince and much of the court. Tang sources name the crown prince as Yung; the Baekje annals of the Samguk sagi call him Hyo. A royal house that had ruled for centuries had collapsed in a matter of weeks.

The Tang divided the former kingdom into five commanderies, the chief of them at Ungjin, and appointed local magnates as officials. The commander Liu Renyuan stayed behind with 10,000 men to hold Sabi, alongside a Silla garrison. In the ninth month Su Dingfang sailed from Sabi with Uija, members of the royal family and court, and more than ten thousand captives, and in the eleventh month he presented them to Gaozong at Luoyang. Uija died in Tang territory shortly afterward. From the Tang point of view, Baekje had ceased to exist as a state, and what remained was a matter of administration.

02Gwisil Boksin and the Risings

The fall of the capital did not bring the countryside to heel. The occupying troops plundered heavily, and Baekje nobles and local strongmen took up arms within weeks. The most important of them was Gwisil Boksin. The Samguk sagi calls him a nephew of King Mu, which would make him a cousin of Uija; the Japanese chronicle Nihon shoki first gives him the rank of eunsol of the Western Division, the third of Baekje’s sixteen official grades, and later calls him jwapyeong, the highest. With the monk Dochim he held the fortress of Juryu, written Tsunu in the Nihon shoki, and gathered survivors around it. In the west another commander, Heukchi Sangji, raised a force at Imjon fortress; the Old Book of Tang says he collected 30,000 men within ten days.

Boksin and Dochim were soon besieging Liu Renyuan inside Sabi, and the Tang garrison was in real danger. Wang Wendu, the first governor appointed for Ungjin, died shortly after crossing the sea, and Gaozong sent Liu Rengui, with the title of acting prefect of Daifang, to relieve the city. Liu Rengui became the decisive figure on the Tang side. He lifted the siege of Sabi and directed the long campaign against the restoration forces that followed.

What the rebels lacked was a figurehead. Uija and his heir were prisoners in China, and Boksin needed a member of the royal house to rally the population. He turned to Prince Pung, who was living in the Japanese archipelago, then called Wa. In the tenth month of 660 Boksin sent the official Gwiji to the Wa court with more than a hundred captured Tang soldiers as a gift, asking for troops and for the return of Pung so that he could be made king.

03Prince Pung and the Choice Facing Wa

The Nihon shoki writes his name as Hōshō or Yo Hōshō; Tang and Korean sources call him Buyeo Pung. According to the Nihon shoki, “Uija, king of Baekje” sent Pung to Wa as a hostage in the third month of 631. Uija did not become king until 641, however, so the date and the title do not fit together, and some historians place Pung’s arrival in the 640s; the exact year cannot be fixed. An entry for 643 already mentions “the Baekje crown prince Yeo Pung” releasing beehives on Mount Miwa. Royal hostages of this kind guaranteed an alliance and acted as resident envoys; they were not prisoners in any ordinary sense. By 660 Pung had lived in Wa for somewhere between a decade and a half and thirty years, and had close ties to the court.

The bond between Wa and Baekje was old. Buddhism, Confucian learning, calendrical science, medicine, and many craftsmen had reached the islands through Baekje, and immigrants of Baekje descent were numerous at court. Wa had also long claimed an interest in the southern peninsula, framed in the chronicles as the question of Mimana, and that claim had set it against Silla more than once. The fall of Baekje meant the loss of Wa’s chief partner on the peninsula, and it brought Tang and Silla power up to the Tsushima Strait.

The ruler of Wa was Empress Saimei. She had reigned once before as Kōgyoku, stepped down in favor of her brother Kōtoku after the palace coup of 645, and returned to the throne in 655 after his death. Real direction of the government lay with her son, Prince Naka no Ōe. The court decided quickly to send help. The Nihon shoki gives an edict in her name, dated the tenth month of 660, saying that Baekje had come in its distress and could not be abandoned, and that generals should advance along several routes. The wording was very likely polished by the compilers, but the decision itself is not in doubt. In the twelfth month the empress moved to the Naniwa palace to prepare weapons.

Why Wa took such a risk is debated. Some historians stress the traditional alliance and the wish to keep a foothold on the southern peninsula. Others argue that Tang expansion was a real threat, and that it was better to fight on the peninsula than wait for Tang armies to arrive. Still others point out that mobilizing troops from provincial chieftains and kuni no miyatsuko (hereditary regional governors) gave Naka no Ōe and his circle a way to extend central authority over the provinces. These motives do not exclude one another.

04Saimei’s Journey West and Her Death at Asakura

In the first month of 661 Saimei left Naniwa by ship with her court. Later genealogies suggest she was about sixty-eight by East Asian reckoning. With her went Naka no Ōe, his younger brother Prince Ōama, and their consorts. As the fleet passed the Ōku sea off Kibi, Ōama’s consort Princess Ōta gave birth to a daughter, who was named Princess Ōku after the place. The fleet then put in at Nikitatsu in Iyo, and the court stayed for a time at the Iwayu temporary palace. The Man’yōshū includes a short poem by Princess Nukata about waiting at Nikitatsu for the moon and the tide before setting out by boat, usually dated to this voyage. A note attached to it, citing Yamanoue no Okura’s Ruijū karin, attributes the poem to the empress herself, and the question of authorship remains open.

In the third month the fleet reached Na no Ōtsu in Tsukushi, near present-day Fukuoka, and the empress moved into the Iwase temporary palace, which she renamed Nagatsu. In the fifth month she moved inland to the Asakura no Tachibana no Hironiwa palace. The Nihon shoki says that trees from the Asakura shrine were cut down to build it, that the angered god destroyed the buildings, that will-o’-the-wisps appeared, and that many attendants fell ill and died. Such accounts record how people interpreted strange events, not what happened in a literal sense, but they show that the court suffered sickness and deaths on the expedition.

In the seventh month of 661 Saimei died at Asakura. A ruler nearly seventy years old traveling to the front in person was very rare at the time. Her death did not reverse the decision to fight. In the eighth month Naka no Ōe brought the coffin back to the Iwase palace, and the Nihon shoki records a strange report: that night a demon in a large hat was seen on Mount Asakura looking down on the mourning rites. In the tenth month her coffin went back by sea to Naniwa, and in the eleventh month the temporary interment rites were held on the bank of the Asuka River.

The route
Sea of JapanPacific OceanEast China SeaYellow SeaLake BiwaNaraHiroshimaNagasakiMount KōyaSabi1SabiHakusuki River8Hakusuki RiverNaniwa palace2Naniwa palaceNikitatsu4NikitatsuNa no Ōtsu5Na no ŌtsuAsakura palace6Asakura palaceMizuki9MizukiŌtsu palace10Ōtsu palace
Sea of JapanPacific OceanEast China SeaKanazawaNagasakiKagoshimaMount HakuSabi, Hakusuki River1·8Naniwa palace2Naniwa palaceŌtsu palace10Ōtsu palaceNikitatsu4NikitatsuNa no Ōtsu, Asakura palace, Mizuki5·6·9

Close-up 5–6·9

↖ FukuokaNa no Ōtsu5Na no ŌtsuAsakura palace6Asakura palaceMizuki9Mizuki
  1. 1SabiSeventh month of 660 The Tang–Silla armies take the Baekje capital and King Uija surrenders.
  2. 2Naniwa palaceTwelfth month of 660 to first month of 661 Saimei moves to Naniwa to prepare weapons and sails west with the court the next month.
  3. 3Ōku seaFirst month of 661 Passing the Ōku sea off Kibi, Princess Ōta gives birth to Princess Ōku.
  4. 4Nikitatsu (Iwayu temporary palace)First to third month of 661 The fleet puts in at Nikitatsu in Iyo and the court stays at the Iwayu temporary palace.
  5. 5Na no Ōtsu and the Iwase (Nagatsu) palaceThird to ninth month of 661 The empress lodges at Iwase, renamed Nagatsu; in the ninth month Naka no Ōe invests Pung there and sends him home with troops.
  6. 6Asakura no Tachibana no Hironiwa palaceFifth to seventh month of 661 Saimei moves inland to the Asakura palace and dies there in the seventh month.
  7. 7Juryu (Tsunu)660 to ninth month of 663 Stronghold of Boksin and Pung; it surrenders after the defeat at Baekgang.
  8. 8Hakusuki River (Baekgang)Eighth month of 663 A Tang fleet of 170 ships routs the Wa fleet over two days.
  9. 9Mizuki (water fortress)664 A great embankment is built in Tsukushi to block an army advancing from Hakata Bay.
  10. 10Ōtsu palace in ŌmiThird month of 667 to first month of 668 The court moves from Asuka to Ōtsu, where Naka no Ōe is enthroned as Tenji.

In 661 Empress Saimei led the court west from Naniwa to Tsukushi, and Wa forces then crossed to Baekje, only to be defeated by the Tang at Baekgang in 663. Dashed lines mark sea passages known only by their ends; Baekgang follows the Geum estuary theory, and Juryu and the Ōku sea cannot be located and are not shown. Dashed lines show the order of places, not the roads taken.

05Naka no Ōe Rules Without Enthronement; the Fleets Cross

After Saimei’s death Naka no Ōe did not take the throne. Wearing mourning white, he ruled as crown prince, a practice the chronicle calls shōsei, exercising royal authority without formal accession. This lasted for years; he was enthroned as Emperor Tenji only in 668 (a variant text cited in the Nihon shoki puts the enthronement in the third month of 667). The sources do not explain the delay. Later writers have suggested the urgency of the war, the period of mourning, or complications involving Princess Hashihito, Kōtoku’s widow and Naka no Ōe’s sister, but none of these can be proved.

Military preparations went on without a pause. In the eighth month of 661 the court named Azumi no Hirafu and Kawabe no Momoe as generals of the vanguard and Abe no Hirafu, Mononobe no Kuma, and Mori no Ōiwa as generals of the rear, sending weapons and grain to Baekje. Abe no Hirafu had earlier led fleets north against the Emishi and was an experienced commander at sea. In the ninth month Naka no Ōe, at the Nagatsu palace, conferred the woven cap rank on Pung, gave him the younger sister of Ō no Komoshiki as a wife, and sent him home with an escort of more than 5,000 men under Sai no Ajimasa and Echi no Hata no Takutsu.

Here the Nihon shoki repeats itself. It records Pung’s return in the ninth month of 661 and records again, in the fifth month of 662, that Azumi no Hirafu took Pung to Baekje with 170 ships, proclaimed him king by imperial order, and gave Boksin a gold-inscribed patent of appointment. The compilers themselves note variant versions. Pung may have crossed in 661, with the formal investiture following in 662, or a single event from two different sources may have been entered twice. What can be said is that between 661 and 662 Pung returned to Baekje under Wa escort and became the nominal king of the restoration.

In the first month of 662 Wa sent Boksin 100,000 arrows, five hundred kin of silk thread, 1,000 kin of silk floss, 1,000 tan of cloth, 1,000 hides, and 3,000 koku of seed rice. In the third month it sent the king of Baekje another 300 tan of cloth. The list shows that Wa’s help was not only a matter of soldiers, but also of the supplies and seed the restoration forces needed to survive.

06Division in the Restoration Camp: Piseong and the Death of Boksin

Around 662 the restoration held most of the former kingdom, but tensions inside it were growing. Boksin quarreled with Dochim over command and had him killed, taking sole control of the army. Pung was king in name; the real power remained with Boksin.

In the twelfth month of 662 Pung and Boksin decided to move from Juryu to Piseong. Juryu, they said, lay among mountains with poor fields, and a long stay there would exhaust the people; the land around Piseong was fertile and could feed them. Echi no Takutsu objected. Piseong, he argued, was too close to the enemy; Juryu was poor but defended by steep ground, and on the plain an enemy could arrive overnight. Pung ignored him. In the second month of the next year Silla forces burned four districts in southern Baekje and seized Andeok and other strongpoints, and Piseong was exposed as he had warned, so Pung and his court moved back to Juryu. Takutsu’s speech in the Nihon shoki has clearly been shaped by the compilers, but the move and the return are probably accurate in outline.

In the third month of 663 Wa sent its largest army: Kamitsukeno no Wakako and Hashihito no Ōfuta as generals of the vanguard, Kose no Kamusaki no Osa and Miwa no Nemaro in the center, and Abe no Hirafu and Ōyake no Kamatsuka in the rear, with 27,000 men to attack Silla. In the sixth month Kamitsukeno no Wakako and his colleagues took two Silla fortresses; the Nihon shoki writes their names as one string of characters, and how to divide it into two place names is disputed.

At that moment the restoration split. In the sixth month of 663 Pung came to suspect Boksin of plotting rebellion. He had Boksin’s palms pierced and bound with leather thongs and asked his ministers what should be done. The official Deokjip-deuk said such a traitor should not be spared. Boksin spat at him and called him a rotten dog. Pung had Boksin beheaded and his head pickled in salt. The Old Book of Tang tells it the other way round: Boksin planned to kill Pung, and Pung, learning of it, struck first with his own followers. The Tang sources also place the killing before Sun Renshi’s reinforcements arrived, and the Zizhi tongjian dates it to 662. Who moved first cannot now be known. What is certain is that the restoration’s most capable commander died at the hands of his own side.

07Two Days at the Mouth of the Baekgang

With Boksin dead, Tang and Silla decided to strike at Juryu directly. The Tang had already sent the general Sun Renshi across the sea with reinforcements. When the commanders debated where to attack, some proposed taking Garim fortress, which controlled routes by land and water. Liu Rengui argued that Garim was strong and hard to take, while Juryu was the enemy’s nest; if it fell, the other fortresses would give up. The allies divided their forces. Sun Renshi, Liu Renyuan, and King Munmu of Silla, Kim Beopmin, marched on Juryu by land. Liu Rengui, Du Shuang, and Buyeo Yung, the former Baekje crown prince now serving the Tang, led the fleet and the supply ships from the Ungjin River toward the mouth of the Baekgang to join them.

According to the Nihon shoki, in the eighth month of 663 Pung told his commanders that the Wa general Iohara no Kimi no Omi was crossing the sea with more than 10,000 fighting men, and that he himself would go to Hakusuki to meet them. Soon afterward the Silla army surrounded Juryu, and the Tang commanders drew up 170 warships at the Hakusuki River. Hakusuki no e, also read Hakusonkō in Japanese, is the Nihon shoki’s name for the place; Tang and Korean sources call it the Baekgang, the White River. It lay somewhere near the lower course and estuary of the Geum River, but scholars disagree over the exact site, with the Geum estuary and the Dongjin River among the candidates.

In the Nihon shoki’s account, the first Wa ships to arrive engaged the Tang fleet, came off worse, and withdrew. The next day the Wa generals and Pung, without studying the situation, told one another that if they pressed forward the enemy would fall back of its own accord. They led their disordered center against the firm Tang line. The Tang ships closed in from left and right and enveloped them. In a short time the Wa force was routed. Many men drowned, and the ships, jammed bow to stern, could not turn. Echi no Takutsu looked up to heaven, swore an oath, gnashed his teeth, killed several dozen men, and fell. Pung escaped by boat with a few followers to Goguryeo.

The biography of Liu Rengui in the Old Book of Tang is shorter. Liu Rengui met the Wa forces at the mouth of the Baekgang, won four engagements, and burned four hundred of their ships; the smoke and flames filled the sky and the sea ran red. The enemy broke, Buyeo Pung fled, and his sword was captured. A letter from King Munmu to the Tang general Xue Rengui, preserved in the Samguk sagi, says that a Wa fleet of a thousand ships lay at Baeksa to aid Baekje, with Baekje’s best cavalry guarding them on the shore, and that Silla horsemen, acting as the vanguard of the Tang army, first broke the force on land. The three accounts look at the battle from different places. The Nihon shoki explains a defeat and blames the generals’ overconfidence; the Tang history celebrates Liu Rengui; the Silla letter stresses the cavalry fight on shore. Figures like four hundred ships or a thousand may be inflated, but all three agree that the Wa fleet suffered a decisive defeat.

08The Surrender of Juryu and the Refugees

After the battle Juryu had no hope of relief, and in the ninth month of 663 it surrendered. The Nihon shoki records the Baekje people saying to each other that Juryu had fallen and nothing could be done; the name of Baekje was ended that day, and they could never again visit the place of their ancestors’ graves. They arranged to meet the Wa commanders at Teree fortress to decide what to do. The Wa fleet then sailed from Teree carrying Baekje officials, among them the jwapyeong Yeo Jasin and the dalsol Mokso Gwija, Gongna Jinsu, and Eongnye Bongnyu, along with many ordinary people, bound for Wa.

Imjon fortress in the west held out a little longer. Its commander, Jisusin, refused to surrender, and Heukchi Sangji, who had by then gone over to the Tang, joined the attack on Liu Rengui’s orders. Imjon fell soon afterward, and Jisusin abandoned his wife and children and fled to Goguryeo. Pung, who had also taken refuge there, was captured when Goguryeo fell in 668 and was exiled to the far south of the Tang empire. With that the Baekje restoration was over.

The cost to Wa cannot be measured precisely. Some captured soldiers returned only after many years. Tsukushi no Kimi Satsuyama was held in Tang until 671, when he came home with Guo Wucong’s embassy. Ōtomobe no Hakama, a soldier from Kamitsuyame district in Tsukushi, was captured by the Tang during the campaign to aid Baekje. According to Empress Jitō’s edict honoring him in 690, he sold himself into servitude to pay for clothing and food so that comrades including Haji no Hoso and Tsukushi no Kimi Satsuyama could go home and report on Tang plans, and he himself remained in China for nearly thirty years before returning. The Nihon ryōiki, a collection of Buddhist tales compiled much later, includes stories of an ancestor of the Ochi family of Iyo and an ancestor of a district chief of Mitani in Bingo returning from the Baekje war. These are later religious stories, but they reflect the fact that the expedition drew on chieftains from across western Japan.

09Water Fortress, Mountain Forts, and the Move to Ōtsu

After the defeat, the court’s fear was that Tang and Silla would follow up with an invasion. In 664 it stationed sakimori (frontier guards) and set up beacon fires on Tsushima, Iki, and in Tsukushi, and built a great embankment in Tsukushi to hold back water, called the Mizuki, or water fortress. Its remains can still be seen between the present cities of Dazaifu and Ōnojō in Fukuoka Prefecture: an earthen rampart a little over a kilometer long, which once had a moat on its outer side, built to block an army advancing from Hakata Bay and to protect the government offices behind it in Tsukushi, on the site of what became the Dazaifu.

In the eighth month of 665 the court sent the Baekje refugee official Dap Bonchun to build a fortress in Nagato, and Eongnye Bongnyu and Sabi Bokbu to build the Ōno and Ki fortresses in Tsukushi. In the eleventh month of 667 it built the Takayasu fortress in Yamato, the Yashima fortress in Yamada district of Sanuki, and the Kaneda fortress on Tsushima. These hilltop strongholds, ringed by earthen walls and stone ramparts that run across ridges and valleys, are now called Korean-style mountain fortresses. Their building techniques are generally thought to derive from Baekje mountain fortresses, and Baekje refugees took part; the forts of 665 are expressly recorded as built under Baekje officials. Their layouts and construction, however, are not uniform.

In the same years, in the second month of 664, Naka no Ōe had his brother Prince Ōama proclaim a new system of twenty-six cap ranks and redefined the heads of the clans and their allotted dependants, which historians see as a reorganization of the elite after the war. In the third month of 667 the court moved from Asuka to the Ōtsu palace in Ōmi. The chronicles do not explain why. The Nihon shoki says the people disliked the move, many voiced criticism, and fires broke out night after night. The usual view is that Ōtsu, far from the Inland Sea and close to roads to the east and the Hokuriku region, was easier to defend, though some historians emphasize political motives. In the first month of 668 Naka no Ōe was enthroned at Ōtsu as Emperor Tenji.

The number of Baekje refugees was large. In 665 more than four hundred men and women were settled in Kanzaki district in Ōmi; in 666 over two thousand were sent to the eastern provinces; in 669 more than seven hundred, led by Yeo Jasin and Gwisil Jipsa, were settled in Gamō district in Ōmi. In 671 the court granted ranks to a number of Baekje men: Gwisil Jipsa became head of the education office, Sataek Somyeong became a senior official of the law office, Dap Bonchun, Gongna Jinsu, Mokso Gwija, and Eongnye Bongnyu were ranked for their knowledge of military science, and others were honored for medicine, the Confucian classics, and yin-yang learning. They became important to the building of the later ritsuryō (code-based) state.

Contact with the Tang resumed in the same period. In 664 Liu Renyuan, the Tang commander in Baekje, sent Guo Wucong to Tsukushi, and in 665 a Tang embassy under Liu Degao arrived. In 671 Guo Wucong came again; the Nihon shoki says that with the escorting party there were two thousand people on forty-seven ships. Historians differ on what these missions wanted. Some see them as pressing Wa to accept the postwar order; others link them to Tang preparations against Silla.

10The Sources and the Weight of the War

Three groups of sources tell this story: the Saimei and Tenji chapters of the Nihon shoki; the biographies of Liu Rengui and the accounts of Baekje in the Old Book of Tang and New Book of Tang, along with the Zizhi tongjian; and the Baekje and Silla annals and the biography of Kim Yusin in the Samguk sagi. The Nihon shoki has the fullest record of the Wa expeditions and quotes earlier materials such as the Nihon seiki of the Goguryeo monk Dōken. But it was completed in 720, its chronology was arranged after the fact, some events appear twice, and its edicts and speeches were often worked over. The Tang sources were written by the victors, and they are brief and focused on achievement. The Samguk sagi was compiled in 1145, nearly five centuries later; King Munmu’s letter in it is valuable, but it carries Silla’s viewpoint.

The figures vary most of all. The size of the Tang army, the total of Wa troops, and whether there were four hundred Wa ships or a thousand should not be taken as accurate counts. A common view among Japanese historians is that Wa sent several tens of thousands of men in total, mostly contingents raised and led by provincial chieftains without unified command. That fits the Nihon shoki’s picture of disordered ranks and generals who did not study the situation, and it goes a long way toward explaining the defeat.

The consequences for Wa ran deep. The defeat ended its direct military involvement on the Korean peninsula; for a very long time afterward no large Japanese army went there. It led to the defensive works in western Japan and to the move to Ōtsu, and it hastened the centralization of power under Tenji and later Tenmu. The first nationwide household register, the Kōgo register of 670, and the ritsuryō institutions of Tenmu’s reign and after can be read against the sense of crisis that followed the war. The learning and skills of the Baekje refugees also supplied the new state with trained people.

Yet Tang and Silla never crossed the sea. After Goguryeo fell in 668 the two allies fought each other for control of the peninsula, and by 676 the Tang had withdrawn from most of it. The invasion Wa feared did not come. The water fortress and the mountain forts remained in Kyūshū and along the Inland Sea, physical traces of those anxious years.