Although Federation made Australia independent of Britain, legally the Commonwealth was a creation of the British Imperial Parliament, through the "Commonwealth of Australia Constitution Act" 1900 (Imp), which applied to Australia.
