A favela is the term for a slum in Brazil, most often within urban areas. The first favelas appeared in the late 19th century and were built by soldiers who had nowhere to live. Some of the first settlements were called bairros africanos (African neighbourhoods). This was the place where former slaves with no land ownership and no options for work lived. Over the years, many former black slaves moved in.