In 1550, Swedish king Gustav Vasa commanded people to build a new city and move there. His idea was to build a new place to trade, which would be more popular than Tallinn. The idea did not work well, and many people returned from Helsinki to their homes. Later Sweden built the fortress Suomenlinna in Helsinki. After Russia had taken Finland from Sweden in several wars, they started developing Helsinki. Helsinki became the capital of autonomous province of Finland. When Finland became independent in 1917, Helsinki stayed as the capital city.