Until early 16th century main merchant and warship of the Javanese was the jong, but since the mid-16th century the maritime forces of the archipelago began to use new types of agile naval vessels that could be equipped with larger cannons: In various attacks on Portuguese Malacca after the defeat of Pati Unus, they no longer used jong, but used lancaran, ghurab and ghali.