Besides the Song dynasty and Japan, Kublai Khan also launched campaigns against Burma, Java and Vietnam. A series of military conflicts between the Yuan dynasty and the Pagan Empire took place between 1277 and 1287, collectively known as the First Mongol invasion of Burma. The invasion toppled the 250-year-old Pagan Empire and the Yuan dynasty annexed Upper Burma. However, Yuan invasions of both Java and Vietnam resulted in failure. Nevertheless, both the Trần dynasty (Đại Việt) and Champa decided to accept the nominal supremacy of the Yuan dynasty in order to avoid further conflicts.