In Japan the first documented introduction of the matchlock which became known as the "tanegashima" was through the Portuguese in 1543. The "tanegashima" seems to have been based on examples of "snap matchlocks" purchased from Portuguese traders, and originally produced in the Portuguese armories present in Asia including Portuguese Malacca and Goa in Portuguese India, which were cities captured by the Portuguese in 1511 and 1510, respectively. The Malay arquebus, istinggar, utilized this type of mechanism. There were 2 different lock mechanisms used in Indo-Portuguese matchlock guns. One has single leaf mainspring of the Lusitanian gun prototypes, which can be found in Ceylon, Malay peninsula, Sumatra, and Vietnam, and the other has V-shaped mainspring, can be found in Java, Bali, China, Japan, and Korea.