It was officially declared a city by Queen Victoria in 1847, after which it became the capital of the newly founded colony of Victoria in 1851.
Melbourne became the capital of what colony in 1851?
Victoria