The etymology of Maranhão is uncertain; the name probably originates from Portuguese settlers from Maranhão in Avis in the province of Alentejo.
The word was first used to refer to the Amazon River.

The first known European to explore Maranhão was the Spanish explorer Vicente Yáñez Pinzón in 1500, but it was granted to João de Barros in 1534 as a Portuguese hereditary captaincy.
The first European settlement, however, was made by a French trading expedition under Jacques Riffault, of Dieppe, in 1594, who lost two of his three vessels in the vicinity of São Luís Island, and left a part of his men on that island when he returned home.
Subsequently, Daniel de La Touche, Seigneur de La Rividière was sent to report on the place, and was then commissioned by the French crown to found a colony on the island (Equinoctial France); this was done in 1612.
The French were expelled by the Portuguese in 1615, and the Dutch held the island from 1641 to 1644.
In 1621 Ceará, Maranhão and Pará were united and called the "Estado do Maranhao", which was separated from the southern captaincies.
Very successful Indian missions were soon begun by the Jesuits, who were temporarily expelled as a result of a civil war in 1684 for their opposition to the enslavement of the Indians.
Ceará was subsequently detached, but the State of Maranhão remained separate until 1774, when it again became subject to the colonial administration of Brazil.

In the late 18th century, there was a great influx of enslaved peoples into the region, which corresponded to the increased cultivation of cotton.
According to the historian Sven Beckert, the region's cotton exports "doubled between 1770 and 1780, nearly doubled again by 1790, and nearly tripled once more by 1800."

Maranhão did not join in the Brazilian declaration of independence of 1822, but in the following year the Portuguese were driven out by British sailor and liberator Admiral Lord Cochrane and it became part of the Empire of Brazil.
For this achievement Lord Cochrane became 1st Marques of Maranhão and Governor of Maranhão Province.

São Luís is the Brazilian state capital which most closely resembles a Portuguese city.
By the early 20th century São Luís had about 30,000 inhabitants, and contained several convents, charitable institutes, the episcopal palace, a fine Carmelite church, and an ecclesiastical seminary.
The historic city center was declared a World Heritage Site in 1997.São Luís, Maranhão
The etymology of Maranhão is uncertain; the name probably originates from Portuguese settlers from Maranhão in Avis in the province of Alentejo. The word was first used to refer to the Amazon River.
The first known European to explore Maranhão was the Spanish explorer Vicente Yáñez Pinzón in 1500, but it was granted to João de Barros in 1534 as a Portuguese hereditary captaincy. The first European settlement, however, was made by a French trading expedition under Jacques Riffault, of Dieppe, in 1594, who lost two of his three vessels in the vicinity of São Luís Island, and left a part of his men on that island when he returned home. Subsequently, Daniel de La Touche, Seigneur de La Rividière was sent to report on the place, and was then commissioned by the French crown to found a colony on the island (Equinoctial France); this was done in 1612. The French were expelled by the Portuguese in 1615, and the Dutch held the island from 1641 to 1644. In 1621 Ceará, Maranhão and Pará were united and called the "Estado do Maranhao", which was separated from the southern captaincies. Very successful Indian missions were soon begun by the Jesuits, who were temporarily expelled as a result of a civil war in 1684 for their opposition to the enslavement of the Indians. Ceará was subsequently detached, but the State of Maranhão remained separate until 1774, when it again became subject to the colonial administration of Brazil.
In the late 18th century, there was a great influx of enslaved peoples into the region, which corresponded to the increased cultivation of cotton. According to the historian Sven Beckert, the region's cotton exports "doubled between 1770 and 1780, nearly doubled again by 1790, and nearly tripled once more by 1800."
Maranhão did not join in the Brazilian declaration of independence of 1822, but in the following year the Portuguese were driven out by British sailor and liberator Admiral Lord Cochrane and it became part of the Empire of Brazil. For this achievement Lord Cochrane became 1st Marques of Maranhão and Governor of Maranhão Province.
São Luís is the Brazilian state capital which most closely resembles a Portuguese city. By the early 20th century São Luís had about 30,000 inhabitants, and contained several convents, charitable institutes, the episcopal palace, a fine Carmelite church, and an ecclesiastical seminary. The historic city center was declared a World Heritage Site in 1997.São Luís, Maranhão
Maranhão