Vilnius again grew in population by being the capital of the Lithuanian Soviet Socialist Republic (according to the 1989 census, it had 576,747 residents). Despite the fact that almost whole Lithuania suffered from a large emigration after the restoration of independence in 1990, the number of residents in Vilnius remained almost unchanged (542,287 in 2001) and began to steadily grow every year since 2006 to 580,020 residents (as of 1 January 2020).