The Portuguese found various gunpowder weapons after the 1511 conquest of Malacca. It is known that the Malays of Malacca obtained arms from Java.