After the federation of Australia in 1901, it served as the nation's interim seat of government until 1927.