Mojopahit’s obvious prosperity during the fourteenth century depended very much on its ability to maintain privileged relations with China and to control the straits. The founding of Malacca in 1401 was a watershed event for Mojopahit. According to D. Lombard, in 1410, China supported Java against Malacca, which claimed sovereignty over Palembang: “China appeared to endorse Java’s primacy over Srīwijaya” (1990, ii: 41–42). In fact, the Ming fleet ensured the safety of the straits with the “agreement” of Mojopahit. In Southeast Asia, China first relied on Malacca, as early as 1405 (see below).