In 1975, Portuguese rule ended in East Timor. However, independence was short-lived as Indonesia annexed the territory soon after. However, after more than 20 years of fighting Indonesia, East Timor won its independence and was recognised by the UN in 2002. Finally, Britain ended its protectorate of the Sultanate of Brunei in 1984, marking the end of European rule in Southeast Asia.