Answer:
In 1871, Italy had recently achieved unification and had become the Kingdom of Italy. This unification process, known as the Risorgimento, culminated in 1861 with the proclamation of the Kingdom of Italy under King Victor Emmanuel II. By 1871, Rome had been annexed to Italy, and it was declared the capital of the newly unified country.