Bahia (bɐˈiɐ, ba-; meaning "bay") is one of the 26 states of Brazil, located in the Northeast Region of the country. It is the fourth-largest Brazilian state by population (after São Paulo, Minas Gerais, and Rio de Janeiro) and the 5th-largest by area. Bahia's capital is the city of Salvador (formerly known as "Cidade do São Salvador da Bahia de Todos os Santos", literally "City of the Saint Savior of the Bay of All the Saints"), on a spit of land separating the Bay of All Saints from the Atlantic. Once a monarchial stronghold dominated by agricultural, slaving, and ranching interests, Bahia is now a predominantly working-class industrial and agricultural state. The state is home to 7% of the Brazilian population and produces 4.2% of the country's GDP.
The name of the state derives from the earlier captaincy of Bahia de Todos os Santos, named for Bay of All Saints (Baía de Todos os Santos in modern Portuguese), a major feature of its coastline. The bay itself was named by the explorer Amerigo Vespucci during his second voyage, when he found it on All Saints' Day (1 November), 1502. He named it after his parish church in Florence, San Salvatore di Ognissanti ("Holy Savior of All the Saints"). Over time, the bay became distinguished as the Bay of All Saints, the state as Bahia ("Bay"), and its capital first as Bahia and then finally as Salvador.
Bahia is bordered on the east by the Atlantic Ocean. The Bay of All Saints is the largest bay on the Brazilian coast. Under the Brazilian Empire, it was bounded on the north by the Rio Real and by the Jequitinhonha on the south, but Bahia now comprises an irregular shape bound by other states of Brazil, some of which were formed from it. In the north, it is now bordered (from east to west) by Sergipe, Alagoas, Pernambuco and Piauí. In the northwest, it is bordered by Tocantins. In the southwest, it borders Goiás, and in the south it is bordered (from east to west) by Espírito Santo and Minas Gerais.