These include the Homo sapiens , as distinguished from the mid-Pleistocene Homo erectus species. Filipinos of mixed ethnic origins are still referred to today as mestizos. They had to arm themselves at their own expense, but they did get to keep the loot they won — or stole, depending on which side of the transaction you want to look at. The Peninsulares governors born in Spain , mostly of Castilian ancestry, settled in the islands to govern their territory. The Spanish recruited thousands of Chinese migrant workers called sangleys to build the colonial infrastructure in the islands. Philippine nationality law is currently based upon the principle of jus sanguinis and, therefore, descent from a parent who is a citizen of the Republic of the Philippines is the primary method of acquiring national citizenship. Many of the barangay tribal municipalities were, to a varying extent, under the de jure jurisprudence of one of several neighboring empires, among them the Malay Srivijaya , Javanese Majapahit , Brunei , Malacca , Indian Chola , Champa and Khmer empires, although de facto had established their own independent system of rule. They were ruled by Rajahs , Datus and Sultans , a class called Maginoo royals and defended by the Maharlika Lesser nobles, royal warriors and aristocrats. Instead they fell under the general provision that all other lands not otherwise provided for be returned to the Spanish Empire. They were free to change their allegiance to another datu if they married into another community or if they decided to move. In the 16th and 17th centuries, thousands of Japanese traders also migrated to the Philippines and assimilated into the local population. The " Tabon Man " fossils are considered to have come from a third group of inhabitants, who worked the cave between 22, and 20, BCE.