Some Chinese traders avoided Portuguese Malacca after it fell to the Portuguese in the 1511 Capture of Malacca. Many Chinese, however, cooperated with the Portuguese for the sake of trade. Some Chinese in Java assisted in Muslim attempts to reconquer the city using ships. The Javanese–Chinese participation in retaking Malacca was recorded in "The Malay Annals of Semarang and Cerbon".