The favelas of Rio de Janeiro, with their teeming masses trapped in misery, constitute the perfect site for investigating how social inequality is reproduced in Brazil. The latest survey of the shantytowns, conducted by the Instituto de Planejamento in Rio de Janeiro (IPLAN-Rio) reported that as of 1991, the city contained 661 favelas housing 962,793 persons in 239,678 shacks. The squatter settlements recreate in miniature but distorted form the entire history of modern Rio de Janeiro. The first squatter settlement was built in 1898 in Rio by Bahian veterans of the military campaign against mystic rebel Antonio Conselheiro. Yet only when the housing crisis of the 1940s forced the urban poor to erect hundreds of shantytowns in the suburbs did favelas replace tenements as the main type of residence for destitute Cariocas (residents of Rio). The explosive era of favela growth dates from 1940, when Getúlio Vargas's industrialization drive pulled hundreds of thousands of migrants into the Federal District, until 1970, when shantytowns expanded beyond urban Rio and into the metropolitan periphery. Even today, the favelas remain an officially unrecognized and illegal part of city. For this reason, many researchers assume that the shantytowns have no written history and that historians must rely on anecdotal evidence from residents for information on squatter life.