Coffee production in Brazil is responsible for about a third of all coffee, making Brazil by far the world's largest producer, a position the country has held for the last 150 years. Coffee plantations, covering some 27,000 km2 (10,000 sq mi), are mainly located in the southeastern states of Minas Gerais, São Paulo and Paraná where the environment and climate provide ideal growing conditions. Coffee first arrived in Brazil in the 18th century and the country had become the dominant producer by the 1840s. Production as a share of world production peaked in the 1920s, with the country supplying 80% of the world's coffee, but has declined since the 1950s due to increased global production.