The Istana () is the official residence and office of the president of Singapore. The palace is open to the public and is where the president receives and entertains state guests. The Istana is also the office of the prime minister of Singapore and is home to Sri Temasek, the official residence of the prime minister since Singapore's independence in 1965, though none of the prime ministers have ever lived there. The estate was once part of the extensive nutmeg plantation of Mount Sophia. In 1867, the British colonial government acquired the land and built a mansion to be the official home of the British governor. This continued until 1959 when Singapore was granted self-government, and the governor was replaced by the Yang di-Pertuan Negara, who was in turn replaced by the president. History British Colonial Period World War II Post-war The building continued to be used by governors of the newly created Crown Colony of Singapore. When Singapore attained self-rule in 1959, the building was handed over to the Government of Singapore. It was then renamed the Istana. Yusof Ishak was appointed the first local head of state, the Yang di-Pertuan Negara, and took up office at the Istana. The building was extensively renovated between 1996 and 1998 to add more space and modern-day conveniences. The building today has six function rooms used for ceremonial and entertainment purposes. The offices of the President of Singapore and her staff are in the building. Present Since its first occupancy in 1869, the Istana has seen 21 terms of governorship (1869–1959), two terms of occupation by the Yang di-Pertuan Negara (1959–1965) and eight terms of presidential occupation (since 1965), not to mention the Japanese occupancy between 1942 and 1945. The Istana is the official residence of the President of Singapore. However, no presidents nor cabinet ministers have lived there after the tenure of Devan Nair, the third President of Singapore. The villas, which are meant to be used for foreign heads of state, are used rarely. The Istana building and its grounds are open to the public on five selected statutory holidays – Chinese New Year, Deepavali, Hari Raya Puasa, Labour Day and National Day. Due to the closeness of Deepavali and Hari Raya Puasa in some years, the grounds of the Istana are sometimes open only once during this period in commemoration of both public holidays. The grounds are also often