Australia has six states, two major mainland territories, and other minor territories. The states are New South Wales, Queensland, South Australia, Tasmania, Victoria, and Western Australia. The two major mainland territories are the Northern Territory and the Australian Capital Territory. In most respects, the territories function like the states, but the Commonwealth Parliament can override any legislation of their parliaments.
Australia also has several minor territories; the federal government administers a separate area within New South Wales, the Jervis Bay Territory, as a naval base and sea port for the national capital. In addition Australia has the following, inhabited, external territories: Norfolk Island, Christmas Island, Cocos (Keeling) Islands, and several largely uninhabited external territories: Ashmore and Cartier Islands, Coral Sea Islands, Heard Island and McDonald Islands, and the Australian Antarctic Territory.