The Territory of Cocos (Keeling) Islands is a territory of Australia, administered from Canberra by the Australian Department of the Environment, Sport, and Territories. The islands are located in the Indian Ocean. The capital is West Island[?]. It is not to be confused with Cocos Island that is an uninhabited offshore island in the Pacific Ocean, and forms an integral part of the Republic of Costa Rica.