Florence then replaced Turin as the capital of Italy (1865). Florence remained the capital of Italy for six years when Rome became the capital of the country.