South Australia gave the Northern Territory to the Commonwealth . This has occurred on several occasions , most notably the surrender by South Australia to the Commonwealth of the Northern Territory .