 Dili was settled about 1520 by the Portuguese, who made it the capital of Portuguese Timor in 1769.It was proclaimed a city in January 1864.During World War II, Portugal and its colonies remained neutral, but the Allies saw East Timor as a potential target for Japanese invasion, and Australian and Dutch forces briefly occupied the island in 1941.