The Moscow Peace Treaty ended the state of occupation on 12 March 1940, as Finland was forced to cede parts of Karelia. The land accounted for 9% of the country's territory, included Finland's second largest city Viipuri and much of Finland's industry. About 422,000 Karelians — 12% of Finland's population — choose rather to evacuate beyond the new border and lose their homes than to become Soviet subjects. The military troops and the remaining civilians were hastily evacuated. Finland also had to cede a part of the Salla area, the Rybachy Peninsula in the Barents Sea and four islands in the Gulf of Finland. The ceded areas were integrated within the Karelian ASSR to form the Karelo-Finnish SSR.