The pre-colonial Philippines had a progressive society with powerful and egalitarian cultures. The basic political unit was the barangay, consisting of 30-100 families led by a chieftain or datu. Women held significant power and status. The economy was self-sufficient, based around agriculture, fishing, mining and trade. In 1521, Ferdinand Magellan arrived in the Philippines, establishing the first European contact and beginning the colonization of the islands by Spain.