Belo Horizonte is the sixth-largest city in Brazil, with a population around 2.7 million. It is the 13th-largest city in South America and the 18th-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 17th-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.