The second half of the war was initiated by Pegu. To take advantage of Ava's dynastic succession crisis, Razadarit invaded Upper Burma in full force with a large flotilla in 1401. Ava's defenses held, and Razadarit and Minkhaung I of Ava agreed to another truce in 1403. The second truce lasted less than 5 years as Ava quickly went on an expansion spree, swallowing up Shan states of Kale and Mohnyin in the north, and Arakan in the west, between 1404 and 1406. Pegu could not allow Ava to get too strong, and renewed the war. In 1408, Peguan forces dislodged Avan troops from Arakan. Pegu also found an ally in the Shan state of Theinni , which too wanted to check Ava's ambitions. Between 1408 and 1413, Ava was forced to fight on multiple fronts: Theinni in the north, and Pegu in the south and in the west . Nonetheless, by 1412, Avan forces, led by Crown Prince Minye Kyawswa, had begun to gain an upper hand. Minye Kyawswa defeated Theinni and its Chinese allies in 1412. He invaded the Hanthawaddy country in full force in 1414, and conquered the Irrawaddy delta in 1415, forcing Razadarit to flee Pegu for Martaban. But Minye Kyawswa was killed in battle in March 1415.
Question: What happened first, the invasion of Upper Burma, or a truce between Razadarit and Minkhaung I of Ava?
Answer: invasion of Upper Burma