In May 1513 Jorge Álvares, one of the Portuguese envoys, reached China. Although he was the first to land on Lintin Island in the Pearl River Delta, it was Rafael Perestrello—a cousin of the famed Christopher Columbus—who became the first European explorer to land on the southern coast of mainland China and trade in Guangzhou in 1516, commanding a Portuguese vessel with crew from a Malaccan junk that had sailed from Malacca. Fernão Pires de Andrade visited Canton in 1517 and opened up trade with China. The Portuguese were defeated by the Chinese in 1521 at the Battle of Tunmen and in 1522 at the Battle of Xicaowan, during which the Chinese captured Portuguese breech-loading swivel guns and reverse engineered the technology, calling them "Folangji" 佛郎機 (Frankish) guns, since the Portuguese were called "Folangji" by the Chinese. After a few decades, hostilities between the Portuguese and Chinese ceased and in 1557 the Chinese allowed the Portuguese to occupy Macau.