Other examples of capitals moving: Bonn to Berlin (Germany), Bursa to Ankara (Turkey)
from Turin to Florence (temporary, 5 years 1865-1870)
from Florence to Rome (1871)
In theory Rome was the capital of the new Reign of Italy since 1861, but in practice Rome became "available" only 10 years later.
Even old New York, was once New Amsterdam… ;)