As a result, these homeless residents were temporarily occupying slopes in the vicinity of these old demolished buildings, such as Morro da Providência (mainly occupied by former residents of the Cabeça de Porco tenement and former soldiers of the War of Canudos) and Morro de Santo Antonio (especially by ex-combatants of the Brazilian Naval Revolts). In a short time, this type of temporary housing was permanently established in the urban landscape of Rio, originating the first favelas in the city. From the increase in the populations expelled from the tenements and the arrival of new poor migrants to the capital of the Republic, the favelas grew rapidly and spread through the hills settlements and suburban areas of Rio.