State (pop., 2007: 14,079,966), eastern Brazil. It covers an area of 218,029 sq mi (564,693 sq km), and its capital is Salvador. The major river is the São Francisco. The Portuguese first entered the region in 1501, through the bay where Salvador is now located. Colonization began in the coastal region; the discovery of gold and gems in the Diamantina Upland attracted more settlers in the 18th century. Bahia became a state in 1889. Bahia is rich in mineral resources, including petroleum, natural gas, lead, copper, chromium, and tin. Its industries include petroleum refining, ironworks, and tourism. It is also an important agricultural producer.