Kuala Lumpur achieved city status on 1 February 1972, becoming the first settlement in Malaysia to be granted the status after independence. Later, on 1 February 1974, Kuala Lumpur became a federal territory. Kuala Lumpur ceased to be the capital of Selangor in 1978 after the city of Shah Alam was declared the new state capital. On 14 May 1990, Kuala Lumpur celebrated 100 years of local council. The new federal territory Kuala Lumpur flag and anthem were introduced. On 1 February 2001, Putrajaya was declared a Federal Territory, as well as the seat of the federal government. The administrative and judicial functions of the government were shifted from Kuala Lumpur to Putrajaya. Kuala Lumpur however still retained its legislative function, and remained the home of the Yang di-Pertuan Agong (Constitutional King).