Construction of the fortress started in 1748 when Finland was still part of the Kingdom of Sweden. Sweden wanted to defend the sea areas against Russia. They also needed a place to fix their military ships. In 1808 Russia ruled Finland. They made the fortress stronger to defend Helsinki, which was now the capital of Finland.