The origin of gunpowder-based weaponry in Nusantara archipelago can be traced from the late 13th century. The Mongol invasion of Java brought gunpowder technology to java in the form of a cannon (Chinese: "Pao"). This resulted in the development of Javanese breech-loading swivel gun, the cetbang. Following the decline of the Majapahit, particularly after the paregreg civil war (1404-1406), the consequent decline in demand for gunpowder weapons caused many weapon makers and bronze-smiths to move to Brunei, Sumatra, Malaysia and the Philippines led to widespread use, especially in the Makassar Strait. This event led to near universal use of the swivel-gun and cannons in the Nusantara archipelago.