The first version of the town was a single large walled building, called the Habitation. A similar Habitation was established in Port Royal in 1605, in Acadia. This arrangement was made for protection against perceived threats from the indigenous people. The difficulty of supplying the city of Quebec from France and the lack of knowledge of the area meant that life was hard. A significant fraction of the population died of hunger and diseases during the first winter. However, agriculture soon expanded and a continuous flow of immigrants, mostly men in search of adventure, increased the population.