The construction of the Palace started at the year 1460 and finished at 1478 with the order of Mehmet the Conqueror. It comprises 700,000 square meters area and located at Peninsula. Topkapi Palace was the administrative, educational and art center of the Empire for 380 years. Then Ottoman Dynasty moved to the Dolmabahce Palace in the middle of 19th century.
Hagia-Irene Church was located in the first courtyard of Topkapi Palace. Besides, there are the outer service buildings, Oven and Hospital.
Second courtyard has administrative buildings for the Empire. These are Square of Justice, Imperial Council and Treasury of the Divan-ı Hümayun. The entrance of Harem, Palace Kitchens and additional service buildings are here as well.
Third courtyard was used for education of palace aghas and assigned to high ranks of the state. There were dormitories and the structures belongs to the Sultan. Ottoman Sultan used to meet with viziers and ambassadors here. Enderun Library which was used for education aghas, is located in this courtyard.
Topkapi Palace has passages to the Imperial Sofa courtyard which has the kiosks and gardens. The Terrace courtyard has Revan and Baghdat Kiosks, Circumsision Room and Iftaree Canony.