East Timor and Indonesia established diplomatic relations in 2002. Both share the island of Timor. Indonesia invaded the former Portuguese colony in 1975 and annexed East Timor in 1976, maintaining East Timor as its 27th province until a United Nations-sponsored referendum in 1999, in which the people of East Timor chose independence. Following a United Nations interim administration, East Timor gained independence in 2002. Indonesia has an embassy in Dili. East Timor has an embassy in Jakarta and a consulate in Denpasar and Kupang.