Where was the capital moved to