On 7 December 1975, nine days after declaring independence from Portugal, Timor-Leste was invaded by Indonesia, which declared the territory as its 27th province in 1976, with Indonesian as the sole official language. During the Indonesian occupation, the use of Portuguese in education, administration and the media was banned by the Indonesian authorities, which saw the language as a threat.