until the late nineteenth century, more people died in cities than were born in them. Without immigration, the cities would quickly depopulate. Further, towns permitted some social mobility. Towns jealously protected their right to free serfs who had escaped from their land and lived inside their walls for a year and a day. This encouraged immigration and provided a base of workers to help fuel the economy.