In 1511, however, Malacca fell to the Portuguese under Afonso de Albuquerque. Albuquerque's embassy, under the leadership of Duarte Fernandes, arrived in Siam in 1518. These were the first Europeans in Siam. Rama Tibodi II signed a treaty with them giving the Portuguese "complete commercial freedom", the right to establish Christian missions and build churches.