Belo Horizonte is the sixth-largest city in Brazil, with a population of approximately 2.7 million. It is the thirteenth-largest city in South America and the eighteenth-largest in the Americas. The metropolis is anchor to the Belo Horizonte metropolitan area, ranked as the third most populous metropolitan area in Brazil and the seventeenth most populous in the Americas. Belo Horizonte is the capital of the state of Minas Gerais, Brazil's second most populous state. It is the first planned modern city in Brazil.