When the first Spaniards arrived in the Philippines in the 16th century, they found well-organized independent villages called barangays.
The coastal barangays were more accessible to trade with foreigners.