The Northern Territory was founded as a federal territory on 1 January 1911, but its first flag was not hoisted until self-government was attained on 1 July 1978.