Minas Gerais is in the north of the southeastern subdivision of Brasil , which also contains the states of São Paulo , Rio de Janeiro and Espírito Santo .
That area also has the states of São Paulo , Rio de Janeiro and Espírito Santo .