Ottawa becomes the capital