It is located on the promontory of the historical peninsula in İstanbul which overlooks both the Marmara Sea and the İstanbul strait. The walls enclosing the palace grounds, the main gate on the land side and the first buildings were constructed during the time of Fatih Sultan Mehmet (the Conqueror) (1451 - 81). The palace has taken its present layout with the addition of new structures in the later centuries. Topkapı Palace was the official residence of the Ottoman Sultans, starting with Fatih Sultan Mehmet until 1856, when Abdülmecid moved to the Dolmabahçe Palace, functioned as the administrative centre of the state. The Enderun section also gained importance as a school. Topkapı Palace was converted to a museum in 1924. Parts of the Palace such as the Harem, Baghdad Pavilion, Revan Pavilion, Sofa Pavilion, and the Audience Chamber distinguish themselves with their architectural assets, while in other sections artefacts are displayed which reflect the palace life. The museum also has collections from various donations and a library.