Changes through the years
In 1808, Segovia was sacked by French troops during the War of Independence. During the first Carlist War the troops of the pretender Carlos de Borbón attacked the city without success. During the nineteenth century and the first half of the twentieth, it experienced a demographic recovery resulting from a relative economic revitalization. The population growth experienced throughout the nineteenth century accelerated from 1920: 16 013 inhabitants that year, 33 360 in 1960, 53 237 in 1981. From the 1980s growth slows down markedly 55 586 is 2004 and 56 047 in 2007.