Maranhão is one of the states of Brazil. It is in the northeastern region of the country. To the north is the coast of the Atlantic Ocean. Maranhão shares borders with Piauí, Tocantins and Pará. In the 19th century, the state used plantation slaves to produce cotton for Europe.