title: History of Sydney
context: From 1788 to 1900 Sydney was the capital of the British colony of New South Wales. An elected city council was established in 1840. In 1900, Sydney became a state capital, when New South Wales voted to join the Australian Federation. Sydney today is Australia's largest city and a major international capital of culture and finance. The city has played host to many international events, including the 2000 Summer Olympics.
question: When did Sydney become the capital of New South Wales?
answers: 1900