The Chinese would similarly intervene in a war of succession in the kingdom of Samudra in Sumatra. However, the intervention with the most far-reaching historical implications was the support for the new kingdom of Melaka (also spelled Malacca) as a counterweight to the Majapahit of Java.4