Consulates and legations were operating in Australian cities long before the Commonwealth of Australia was founded in 1901. The United States opened a consulate in Sydney in 1836, with other countries later following including Switzerland (1855), Germany (1879) and Japan (1896, in Townsville).