Ava–Hanthawaddy War (1385–1391)
The Ava–Hanthawaddy War (1385–1391) () was a military conflict between Ava and Hanthawaddy Pegu that lasted from 1385 to 1391. It was the first of the decades-long wars between the two kingdoms that would last well into the 1420s. Hanthawaddy's victory over a far larger Ava in this war preserved the nascent kingdom's independence.

The war's immediate origins trace to Hanthawaddy's deep political turmoil following King Razadarit's tumultuous rise to power in 1384. The 16-year-old king, who seized the throne after having raised a rebellion against his ailing father King Binnya U, faced several rebellions by his father's vassals. The crisis escalated in 1385 when Viceroy Laukpya of Myaungmya persuaded King Swa Saw Ke of Ava to put him on the Hanthawaddy throne. Swa greatly underestimated Razadarit, and sent down two small armies led by his two young sons, Crown Prince Tarabya and Prince Min Swe. When his bickering sons came back empty handed after a badly coordinated campaign five months later, Swa himself invaded with much larger land and riverine forces in the following dry season. Ava forces penetrated as far south as Dagon and Dala but they could not overcome heavy Hanthawaddy fortifications, and had to withdraw by mid 1387.

The two failed campaigns ushered in a new entrant to the fray. Ava's longtime enemy Maw (Mong Mao) began raiding its northernmost districts, forcing Swa to suspend his southern operations until after Ava and Maw reached a truce in 1389/90. Razadarit took full advantage of the hiatus, and went on to capture the two provinces he did not yet control—Martaban and Myaungmya—as well as two border towns inside Ava territory by early 1390. In response, Swa launched another major invasion later in the year but his forces could not even get past the border. Faced with another embarrassing defeat, Swa grudgingly accepted Razadarit's peace offer, in which Ava agreed to recognize Pegu in exchange for Pegu returning the border towns. Tensions remained high until Swa withdrew his last regiments from the Tharrawaddy front later in 1391.

In the following decade, Hanthawaddy Pegu under Razadarit's leadership became more unified, and grew to be a major regional power. On the other hand, Ava remained preoccupied with the Maw threat throughout the 1390s, after surviving a major Maw invasion in 1392–1393. When Ava entered into a succession crisis in 1400, Razadarit felt powerful enough that he invaded his larger and more populous northern neighbor, starting the Ava–Hanthawaddy War (1401–1403).

Background

The backstory of the war goes back to the two kingdoms' lukewarm relationship since the early 1370s as well as Ava's long-running problems with its northern neighbor, Shan-speaking Maw (Mong Mao).

Emergence of Ava and Hanthawaddy Pegu
Both kingdoms emerged in the 1360s. The central-dry zone-based Ava was founded in 1365 as a remnant of the Pinya and Sagaing kingdoms, after Maw raids left the two kingdoms in tatters. When Ava's founder Thado Minbya died in 1367, his successor Swa Saw Ke inherited a largely embryonic polity that controlled few peripheral regions. On the southern coast, the polity based out of Pegu (Bago) came into being as a remnant of the Martaban Kingdom in 1369/70 when King Binnya U was forced to retreat to the hitherto provincial capital by his cousins Byattaba and Laukpya, who had waged a rebellion since 1364.

Early relations
It was during these turbulent times that the first peace treaty between the two rump kingdoms was signed in 1370/71. The initial proposal came from U who wanted to keep his northern border quiet. Swa, who wanted U's assurance that Pegu would not help the former southern vassals of Pinya, accepted.

The treaty allowed both kings to focus on their domestic struggles. Though Binnya U regained Donwun from Byattaba in 1371, the king was soon forced to make peace when his cousins sought Lan Na's intervention. The king agreed to recognize them as the autonomous viceroys of Martaban and Myaungmya provinces, respectively; in return, the brothers agreed to nominally recognize U as their sovereign.

Swa was far more successful in expanding his authority. He promptly went to war with Maw, and by 1373 had seized Kale (Kalay) and Myedu from Maw. Later in 1373 (or early 1374), he placed his nominee on the vacant throne of Arakan. He then plotted to replace Gov. Pyanchi I of Toungoo, who he felt was too close to Pegu.

Deterioration of relations
The relations between the kingdoms suddenly cooled in 1375 when Pyanchi I revolted. According to the main royal chronicles, Pegu sent a sizable military force to Toungoo (Taungoo) to aid the rebellion. Ava had to send three separate expeditions to regain Toungoo in 1375–1376. However, the Razadarit Ayedawbon, the chronicle that covers the early Hanthawaddy period from the Hanthawaddy perspective, makes no mention of Pegu's support of Toungoo in any way during this period; instead, it portrays U as an ailing king whose effective authority amounted to a single province, not one capable of interfering in others' affairs. In any case, it was only in 1383 when Pegu was amidst a serious rebellion that Ava was able to install its preferred governor at the border state. The Ava regime watched on as Pegu's political instabilities worsened after Binnya U's death in 1384. Their subsequent decision to interfere in the southern kingdom's affairs would lead to war.

Prelude to the war

Instabilities in Pegu
Pegu's succession crisis began in May 1383 when Prince Binnya Nwe raised a rebellion against his ailing father (and his aunt and adoptive mother Princess Maha Dewi). The young price went on to seize the throne, after U's death in January 1384. However, the 16-year-old new king, now known by his regnal title Razadarit, could not get any of the key vassals outside his home province to acknowledge him. Gov. Smin Sam Lek of Donwun, a Binnya U loyalist, deemed Razadarit a mere usurper while viceroys Byattaba of Martaban and Laukpya of Myaungmya, who had indirectly supported the prince's rebellion, refused to submit now that the rebellion had succeeded.

Laukpya's request

Laukpya in particular wanted to take over Pegu. Since he could not take on the most populous province on his own, he considered seeking Ava's help, just as the brothers sought Lan Na's help in the 1370s. However, Byattaba, whose territory bordered the Tai states to the east, demurred. Laukpya ultimately decided to act on his own, and sent an embassy to Ava in 1385, offering to hold Pegu as a vassal state.

His proposal greatly resonated with the Ava court, which was dealing with a developing situation in Arakan: Saw Me, the latest Ava-nominated king, had been driven out. Ultimately, the Ava court, led by Chief Minister Min Yaza, assessed Pegu as an easier mission. Swa, who wanted to restore the erstwhile Pagan Empire, accepted Laukpya's proposal, touching off what would become "the forty years' war between Ava and Pegu."

First invasion (1385–1386)

Ava battle plan

King Swa and his court saw little difficulty in taking over Pegu. Their battle plan reflected that belief: Swa assigned his two young sons with no prior military experience—Crown Prince Tarabya, who was about to turn 17, and Prince Min Swe of Pyinzi, who had recently turned 12—to lead two relatively small armies. The king did appoint two of his best generals, including Thilawa of Yamethin and Theinkhathu of Sagu, to advise the princes. The plan called for a three-pronged attack. The first army led by the crown prince (9 regiments, 7000 infantry, 500 cavalry, 20 war elephants) was to invade the Sittaung river valley from Toungoo. Prince Swe's second army (9 regiments, 6000 infantry, 500 cavalry, 20 elephants) was to invade from Tharrawaddy along the Hlaing river, and join up with Laukpya's Myaungmya flotilla invading from the delta around Dagon (modern downtown Yangon) in a pincer movement towards Pegu.

Pegu battle plan

Pegu's battle plan was shaped by its sheer lack of manpower. A desperate Razadarit sent a last-minute mission to Donwun in search of levies but Sam Lek ignored the request. In the end, the Pegu command had no choice but to defend from a few key fortified towns en route to the capital. On the northeastern front along the Sittaung river, Hanthawaddy's main defenses began only at Fort Pankyaw (modern Waw), about  northeast of Pegu. On the northwestern and western fronts, a series of smaller forts at Hlaing (modern Taikkyi), Hmawbi, and Dagon defended the route towards Pegu.

Invasion

Grinding advance
The invasion began in December 1385. Contrary to their expectations, both armies faced determined resistance from the start. On the northeastern front, Tarabya's army steadily advanced along the Sittaung until it reached Pankyaw. It laid siege to the fort but could not take it for weeks. On the northwestern front, Prince Min Swe's army ran into resistance much earlier at Hlaing (Taikkyi). It had to lay siege to the fort, and finally took the fort only after weeks of heavy fighting. The fall of Hlaing prompted Razadarit to come out of Pegu with an army to reinforce his defenses at Hmawbi. A vanguard regiment of the Ava's second army reached Hmawbi first but the regiment withdrew after its commander, Min Letwe of Pinle, fell in action. Soon after, Tarabya finally took Pankyaw after the fort's commander Nandameit fell in action.

Chasing Razadarit
Tarabya's road to Pegu was now open. The crown prince assigned the Lord of Myede to guard Pankyaw, and marched towards Pegu. But when he learned that Razadarit had evacuated Pegu, Tarabya assessed that Razadarit had retreated to Dagon, and ordered all forces including those of Min Swe and Laukpya to converge around Dagon. It turned out to be a miscalculation. Razadarit had not retreated to Dagon, and was still outside of Pegu. When Ava forces marched on to Dagon, Razadarit swiftly marched to Pankyaw to cut off Ava's rear. The Ava command did not learn about Razadarit's siege of Pankyaw until their forces met up near Dagon. Both Ava armies now rushed back to Pankyaw, about  from Dagon but by the time they got there, Pankyaw had just fallen to Razadarit's forces.

Ava forces now tried to corner Razadarit. Tarabya and his cavalry came face to face with Razadarit's main regiment outside Pankyaw, with the Hanthawaddy king himself leading the charge on his favorite war elephant. In the ensuing battle, a few of the Ava cavalry even got near the king's elephant and cut the elephant's tail but Razadarit managed to break through. Min Swe's army chased the Hanthawaddy king, and caught up with the king near a small town named Hsin. Tarabya ordered Min Swe to hold the position in the path of retreat, and not engage the enemy until his army could catch up. However, the 12-year-old prince was angered by his half-brother's order, and going against the advice of his commanders, ordered his troops to engage. His commanders reluctantly moved forward in a state of confusion. Razadarit's army broke through, and made it back to Pegu.

Withdrawal
The battle turned out to be the last of the campaign, which had already lasted over five months. It was May 1386, and the rainy season was around the corner. Tarabya was furious at both Min Swe, who had disobeyed his express order, and at Laukpya, who he thought had provided little help. Still, he was reluctant to return empty-handed; he discussed his options with his high command for another five days. In the end, Tarabya decided to withdraw for the rainy season, vowing to return after the rainy season. Laukpya and his flotilla, which had been lurking outside Dagon, too turned back.

First interlude (1386)

The rainy season saw competing diplomatic missions to Ava from both Pegu and Myaungmya. The Pegu mission arrived two months after the withdrawal (), bearing lavish gifts and a conciliatory letter directly addressed to King Swa Saw Ke from King Razadarit. Despite having survived the first invasion, the Hanthawaddy king had agreed to his court's recommendation to sue for peace with the more populous northern neighbor. In the letter, Razadarit, using respectful language—he addressed Swa, "Royal Paternal Elder Uncle"—asked the Ava king to honor the terms of the peace treaty Swa and his father signed back in 1370/71, and treat him with mercy.

In response, Laukpya hastily sent a delegation of his own to Ava to keep the alliance intact. In his letter to Swa, Laukpya humbly but also subtly pointed out that the failure of the campaign was due to a lack of coordination between the Ava armies, and that a better planned, coordinated campaign would certainly bring victory. After one month of deliberation, Swa and the court concluded that Pegu was still winnable outright. Swa rejected Razadarit's proposal, and planned to lead the next invasion by himself.

Second invasion (1386–1387)

Ava battle plan

The new battle plan differed from the previous plan in two key aspects. First, the invasion forces were now two and a half times larger. Swa had called up levies from around the kingdom, raising over 29,000 troops, including two Shan regiments. Secondly, the path of invasion for both the land and riverine forces would now be along the Irrawaddy front. The land army (11 regiments, 12,000 infantry, 600 cavalry, 40 elephants) commanded by Crown Prince Tarabya was to invade by land from Tharrawaddy. The riverine force (10 regiments, 17,000 troops, 100 transport boats/ships, 120 war boats) commanded by King Swa himself would attack the southern ports via the delta. Prince Min Swe was left out of the campaign; the prince was assigned to guard the capital Ava, with four regiments under his command. In preparation, the combined invasion forces met up in Prome (Pyay), where supplies had been shipped to. Swa's riverine force then sailed down to a place called Ahlwe (near Myanaung). There, Laukpya's flotilla came up to join the riverine force.

Pegu battle plan

Razadarit was prepared. Though he had raised more troops—his main army alone now consisted of 6000 troops and 20 elephants— his plan again was to outlast the invaders from inside the walls. All the key towns along the invasion route, including Hlaing, Hmawbi, Dagon and Dala (modern Twante) were heavily fortified. To defend Hlaing, the first fort, he assigned Dein Mani-Yut and Smin Ye-Thin-Yan, with 500 troops.

Invasion

In late 1386, Ava forces invaded by the Irrawaddy and by land. Tarabya's army went on to attack the first two Hanthawaddy garrisons, Hlaing (Taikkyi) and Hmawbi. Two vanguard regiments, led by Thray Thinkhaya of Pinle and Thray Waduna of Pinya, took Hmawbi but Tarabya's main army could not take Hlaing (Taikkyi). The crown prince launched three frontal assaults but Dein's defenses held. One month into the campaign, Tarabya was forced to continue the siege. Meanwhile, Swa's riverine forces were in the same situation. They too were laying siege to a string of southern ports at the edge of the delta, Dagon and Dala in particular. Yet, despite the overwhelming numerical superiority, Ava forces could not take any of the fortified towns. The uneasy status quo ensued for the next few months, and many of the Ava troops began suffering from disease.

Pegu's counterattack
It was during the stalemate that Razadarit launched a surprise counterattack on Hmawbi . When Razadarit showed up near the fort with a small battalion (70 troops), the fort's commanders, Thray Thinkhaya and Thray Waduna, thought it was an itinerant detachment, and decided to come out of the gates to chase them away. But the commanders had not considered that the detachment was a decoy. The Hanthawaddy army was 6000 strong, and outnumbered the fort's defenses by three to one. When the Ava troops voluntarily came out of the gates, Hanthawaddy forces, led by the 19-year-old king on his war elephant, pounced. Total carnage ensued. The two Ava commanders on their war elephants managed to escape but most of Ava troops could not and were slaughtered. The fort itself was burned to the ground.

Withdrawal
The fall of Hmawbi foretold the fate of the campaign. Chronicles report that King Swa was visibly shaken by the news but he was not yet ready to call off the campaign. He reshuffled the troops to relieve the ailing men but it did not change the situation in any way. One month later, with the rainy season approaching, Swa finally agreed to withdraw. Like Tarabya before him, Swa too vowed to return.

Having survived the second invasion, the Hanthawaddy command was now more self-assured. At Pegu, a confident Hanthawaddy king vowed in front of Ava prisoners of wars that King Swa mistakenly refused his offer of peace, and that the king of Ava himself would be his next target.

Second interlude (1387–1389)
Despite Swa's vow to return to the south, he would not be able to do so for the next three years. He would be preoccupied by a renewed conflict with Maw (Mong Mao) in the north. Razadarit would use this hiatus to unify the three provinces of the old Martaban Kingdom in the process.

Resumption of Ava–Maw war
Ava's stunning failures in the south did not go unnoticed. In 1387, Maw, which had not challenged Ava's northern border since 1373, began raiding Kale's territory, prompting the sawbwa of Kale to request help to Swa. After weighing the competing demands, King Swa concluded that the developing situation must be taken care of first, and ordered an expedition to the north in the following 1387–1388 dry season. As with its recent southern campaigns, the Ava army advanced as far north as Mohnyin but could not root out the instigators. The conflict would remain unresolved for another two years.

Pegu's conquest of the Martaban province
Meanwhile, Ava's problems in the north gave Pegu an opening. Realizing that they needed to control as many resources as possible to fend off Ava in the long run, Razadarit and his staff set out to reunify the provinces.

Their initial goal was to gain control of the northern Martaban province, centered around Donwun, the ancestral home of the dynasty. In late 1387, Razadarit marched to Donwun, and asked Gov. Sam Lek who was not allied with Byattaba, to come over to his side. But when Sam Lek refused, Razadarit occupied the nearby towns of Tari and Than-Maung to isolate Donwun. This drew Byattaba into the conflict. The ruler of Martaban sent an army to retake the towns but Hanthawaddy defenses led by Than-Byat and Than-Lon repelled the attacks.

After the Martaban attacks died down, the Pegu army returned to Donwun. Although Sam Lek still refused to submit, Razadarit managed to take the town after a ruse led to the opening of the town's gates. When the army marched to the next town of Lagun Byi, the ruler of Than-Maung, who had submitted only months earlier, revolted. The army had to retake Than-Maung after it had taken Lagun Byi. In the end, Razadarit had conquered all the northern districts of Martaban; only the southern districts—the city of Martaban and its satellite Moulmein—remained out of his reach.

Martaban was next. His father could never retake the heavily fortified city (and former royal capital) from Byattaba in 1364–1371 but Razadarit was undeterred. In the following dry season, he sent an army of seven regiments to Martaban. Instead of defending from the inside of his city's fortifications, Byattaba decided to ambush the Hanthawaddy army en route. In the subsequent battle, the Hanthawaddy army was nearly defeated but the two rearguard regiments led by Than-Byat and Dein managed to drive out Byattaba from the battlefield. The army then raced to Martaban where the city's defenders surrendered without a fight. The rest of the southern vassals also submitted, giving Razadarit control of the entire Martaban province. It was late 1388 (or early 1389).

Pegu's conquest of the Irrawaddy delta (1389–1390)

Prelude

Despite Pegu's growing strength, Ava did not act. It sent no help to Laukpya even as Razadarit prepared to invade the delta. For his part, Laukpya was prepared to take on Razadarit, even without Ava's help. He had heavily fortified the province's two main cities, Myaungmya and Bassein, and appointed his ablest sons—Ma Pyit-Nwe at Myaungmya, and Lauk Shein, Bya Kun, and Bya Kyin at Bassein—to defend them. Furthermore, he had also secretly persuaded Gov. Nyi Kan-Kaung of Dala (modern Twante), the border district between the two provinces, to come over to his side.

However, Razadarit soon learned of the alliance through one of his informants. After a period of clandestine preparations, he launched a sudden attack, and occupied the border town. He also had Kan-Kaung, who was not only his half-brother but also his earliest supporters, executed. Pegu's path to the delta was now open. Aware of the formidable defenses at both Myaungmya and Bassein, the Pegu command ultimately decided to attack Bassein first as they believed it would be relatively easier.

Invasion

Battle of Bassein

In late 1389, Razadarit invaded the delta from Dala. His forces had no trouble advancing until they got near Bassein, which was defended by 1000 troops and 50+ war boats in the Bassein River. Some of the war boats were manned by foreign mercenaries with "guns". The king ordered repeated frontal assaults but the city's defenses repelled the charges each time, inflicting heavy casualties on the Hanthawaddy troops. Razadarit finally called off the attacks after one of his frontline commanders, Yaza Manu, was felled atop his war elephant by a gun shot.

The Pegu command was in a quandary. Razadarit acknowledged that he had severely misjudged the relative strength of Bassein, and that his degraded forces were in no shape to take on Myaungmya's even stronger defenses. Yet he was not ready to end the campaign. His senior staff, led by Byat Za and Dein Mani-Yut, argued that the only way they might have a chance at victory was if they could entice the enemy to come out of their fortified cities. The king agreed, and ordered his troops to withdraw into the pocket between Bassein and Myaungmya, which were about  apart, with the hope that the enemy forces would come after them.

Battles of Pan Hlaing and Daybathwe
According to the plan, the Pegu forces set up a trap about midway between the cities in the Pan Hlaing river. Razadarit had stakes planted across the river with just enough spacing so that his navy's smaller war boats could pass through but Bassein's and Myaungmya's larger war boats could not. He sent a squadron of war boats led by Lagun Ein to lure Bassein's war boats to pursue them to the location of the trap. It worked. Bassein's naval flotilla pursued Lagun Ein's squadron until the pursuers ran aground at Pan Hlaing, where they were ambushed from both sides by more Hanthwaddy war boats in the wings. Most of the Bassein troops were taken prisoner.

The small victory kept the campaign alive. Their next target was Daybathwe, a small fort en route to Myaungmya. As part of the plan to draw out the enemy from behind the walls, Razadarit and his main army first retreated to Dala. Dein, with his 1000-man regiment stayed behind, and sent a letter to the fort's commander Saw E Binnya, another of Laukpya's sons, that he had defected and wanted to join the Myaungmya side. Though initially skeptical, Saw E Binnya ultimately decided that the request was genuine, and came out of the main gate on his war elephant and 20 guards to meet Dein, also on his war elephant, and 100 guards. When their elephants got side-by-side, Dein suddenly attacked Binnya, and killed him on the spot. Hanthawaddy troops, lurking behind, got in before the gate was closed, and captured the fort.

After the treacherous capture, Razadarit returned to the front with the main army. The combined forces then marched to Myaungmya.

Battle of Myaungmya
The Myaungmya command was unfazed. Indeed, Commander Pyit-Nwe was so confident of their strength that he believed that his forces could easily defeat the enemy in an open battle, and settle the affairs once and for all. He even sent a letter to Razadarit, urging the king to participate in the upcoming battle. In what turned out to be a major mistake, which one historian called Myaungmya becoming "too venturesome after success", Myaungmya forces voluntarily came out of their fortified defenses to engage the enemy. As the opposing forces clashed right outside the city's gates, Razadarit and Pyit-Nwe eventually became entangled, fighting an impromptu duel on their respective war elephants. In the subsequent battle, both sustained wounds but Razadarit emerged victorious when Pyit-Nwe was thrown off his elephant, and captured by the Hanthawaddy infantry nearby. Myaungmya defenses simply folded. Laukpya tried to flee but was soon caught. Over 1000 Myaungmya troops surrendered.

Razadarit spared Laukpya's life but not Pyit-Nwe's. He had asked Pyit-Nwe to join his service but the commander remained defiant, and asked to be executed instead, which the king reluctantly obliged.

Sweep of the delta

Two days after Myaungmya's fall, Razadarit marched to Bassein. This time, Lauk Shein decided to flee. He took "elephant loads of gold and silver", and left for Prome (Pyay), Ava's southernmost garrison. Razadarit dispatched Dein and Byat Za to intercept Lauk Shein, forcing him to change course to Sandoway (Thandwe),  northwest of Bassein, in Arakan. Byat Za followed up, and laid siege to Sandoway until the town's ruler gave up Lauk Shein and his elephant loads of treasures. Lauk Shein was subsequently executed on Razadarit's order.

Meanwhile, Hanthawaddy forces fanned out to subdue the rest of the delta. By the end of March 1390, they had occupied up to Khebaung (north of modern Hinthada). It was a total rout. Of the old Laukpya installed rulers, only Laukpya's son Bya Kun and son-in-law Bya Kyin escaped to Ava. After a period of regrouping, Razadarit and his staff decided to take Ava's southernmost border towns for strategic reasons. The king sent a regiment and a naval squadron to occupy Gu-Htut (present-day Myan-Aung) and nearby Ahlwe.

Third invasion (1390–1391)

Prelude

The occupation of Gu-Htut proved to be a provocation Ava could not overlook. It so happened that Ava and Maw had agreed to a truce, which included a marriage of state between Swa's second eldest son Prince Min Swe and King Tho Ngan Bwa of Maw's daughter Shin Mi-Nauk. Swa now ordered a renewed campaign to the south. As with the second invasion, Ava forces would invade by land and the river. One difference from the second invasion was that the army (12,000 infantry, 1000 cavalry, 80 elephants) commanded by Crown Prince Tarabya would revert to invading from the Toungoo front (as opposed to from the Tharrawaddy front). Swa's riverine force (17,000 troops, 200 transport boats/ships, 80 war boats) was to attack via the Irrawaddy. As the Maw threat remained in the north, Ava did not include any northern regiments; all its forces were drawn from central to southern districts.

Razadarit was ready. With all three provinces under his control, the king of Hanthawaddy had raised over 13,000 troops, his largest ever. He had assigned Smin Than-Kye to lead the defense of Gu-Htut with 5000 troops and 150 war boats while he himself would lead the defense of the Pegu capital region with his main army (8000 troops and 40 elephants) from Fort Pankyaw.

Invasion

The invasion began in late 1390, and it got bogged down from the outset. On the Irrawaddy front, Ava's war boats repeatedly attacked Gu-Htut but could not break through Hanthawaddy naval defenses. Getting impatient, Swa himself joined in on one of the attacks. It was a mistake. One Hanthawaddy squadron, commanded by Maha Thamun, managed to got close enough to Swa's own royal war boat to capture the gold ornaments from the side of the royal boat. After the close call, Swa called off the attacks.

The Pegu front was no better. Tarabya had advanced to Pankyaw but could not take the fort. With nothing to show for on both fronts, Swa was forced to reassess the situation. Retreat still was not an option but Swa recalibrated his aims to regaining his territories.

Peace agreement and withdrawal
It was during the stalemate that the initial peace offer came from Pegu. The offer was borne out of the efforts of Maha Thamun, who recognized that Swa needed a face-saving way out. The commander initially sent a letter to Razadarit and the Pegu court to sue for peace with Ava from a position of strength. He persuaded Razadarit to return Gu-Htut in exchange for Ava's recognition of Pegu. The king agreed, and appointed Maha Thamun to lead a four-person delegation. At the Ava camp, Maha Thamun presented King Swa the proposal letter from King Razadarit. It was a highly conciliatory letter but written on equal terms.

In the end, Swa accepted Razadarit's terms. Ava agreed to renounce its claims on all territories of Pegu, and recognize Pegu while Pegu agreed to return Gu-Htut and Ahlwe. Both sides also agreed to return each other's prisoners of war. When the news of the agreement reached the Pegu front, Razadarit and Tarabya exchanged gifts, and Tarabya withdrew. On the Irrawaddy front, after Hanthawaddy forces evacuated Gu-Htut, Swa deployed a garrison led by Zeya Gamani and Yaza Nawrahta.

Both sides remained on guard. Later in 1391, after withdrawing his troops to Prome, Swa sent 2000 troops back to Tharrawaddy by the border, ostensibly to look for a white elephant. Only when Razadarit quickly returned to the border with a sizable force, did Swa recall his troops to deescalate the situation. The fragile peace held.

Aftermath
Peace would hold for another decade. Pegu would develop into a full-fledged regional power while Ava would remain preoccupied with the Maw threat.

Ava's troubles in the north resurfaced just one year later. In 1392, Maw forces led by the sawbwa of Mohnyin invaded, routed Ava's northernmost garrison at Myedu, and advanced as far south as , northwest of Sagaing. But the overstretched invaders were decisively defeated by Ava defenses led by Gov. Thilawa of Yamethin. The victory stopped further brazen invasions but the border situation remained tense. Ava even sent three missions to the Ming court (in 1393, 1395 and 1396) to find their common enemy Maw/Mong Mao. In the end, Ava got little reprieve as the Ming government itself could not establish firm control of its Yunnan borderlands until 1398.

Meanwhile, Razadarit had now emerged as a bona fide power, and was recognized as such. Ayutthaya (Siam), which in the past had claimed as far north as Martaban, offered recognition on equal terms. King Ramesuan even sent a white elephant, a symbol of Southeast Asian monarchs, to Razadarit. On the domestic front, Razadarit faced no challenges to his power. His administration consisted mainly of ministers from his father's court led by Dein Mani-Yut, Byat Za, Zeik-Bye and Maha Thamun. With their help, he instituted a more cohesive administrative system across the newly unified kingdom. The administrative reforms, combined with peaceful conditions, transformed the kingdom into a major power. By 1400, Hanthawaddy was in full flight. So confident was Razadarit of his kingdom's strengths that when Ava entered into two succession crises in 1400–1401, following the death of King Swa, the Hanthawaddy king decided to invade a much larger Ava, touching off the Ava–Hanthawaddy War (1401–1403).

Historiography
The war is covered extensively in several royal chronicles. The Razadarit Ayedawbon is the earliest extant chronicle that reports on the war, and its coverage is from the perspective of Hanthawaddy Pegu. The chronicles Maha Yazawin, Yazawin Thit and Hmannan Yazawin provide coverage from Ava's perspective.

See also
 Orders of battle for the Ava–Hanthawaddy War (1385–1391)
 Forty Years' War

Notes

References

Bibliography
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Wars involving Myanmar
1380s conflicts
1390s conflicts
1380s in Asia
1390s in Asia