sentence: during the last years of his reign , kublai launched a naval punitive expedition of 20 -- 30,000 men against the java kingdom of singhasari ( 1293 ) , but the invading mongol forces were forced to withdraw by the majapahit dynasty after considerable losses of more than 3,000 troops .