 Despite continued Champa-Khmer attacks, the Trần managed to arrange several periods of peace with them.During the Trần dynasty, the armies of the Mongol Empire under Möngke Khan and Kublai Khan invaded Annam in 1258, 1285, and 1287 88.Annam repelled all attacks of the Yuan Mongols during the reign of Kublai Khan.