The reason why this new palace was later called “The Topkapi Palace” was that the gate by the “Cannon” which was placed at the location of “Saray Bumu” with the purpose of protecting the palace against the dangers that could come from the sea, was called “Topkapi” (The Cannon Gate)
The “First Court” was located between the outermost gate, of the palace, which was called “Bab-i Hümayun” (The Sacred Gate/Imperial Gate) opposite the St. Sophia Museum and the “Middle Gate” of the palace which was located at a more inner side. The area between the “First Court” and the “Middle Gate” and the “Babüssaade” which meant “The Gate of Felicity” or the “Akagalar Gate” was called the second court or the “Alay Meydam” (the Ceremonial Court). “The Third Court” which was situated at a more inner place than “Babüssaade” was called the “Enderun” or the “Harem”. The place where the affairs of the state were rim and where the “Divani Hümayun” (The Imperial Council) met was situated on the left hand side of the “Ceremonial Court” which was the second court of the place. The treasury, the Office of the Rolls of the Exchequer and the place where fiscal documents were kept were situated at the referenced place.
The offices of the persons belonging to the palace who had their assignments in the Palace and who were called the “Birun Halki” (the outsiders) were situated within the First Court of the Palace, in other words they were situated between the Imperial Gate and the Middle Gate. The “Arz Oda-si” (The Imperial Reception Hall) where the Sultan received the members of the Imperial Council and the foreign ambassadors was situated in the “Enderun”. In the same area there were also “Hirka-i Saadet Dairesi” (the Holy Trust Section) where the Cloak of His Holiness Mohammed and the other holy relics were kept, the’sections where the family of the Sultan dwelled and the rooms and dormitories of the people of “Enderun” were situated.
Gate keepers performed their duties under the protocol
officer of the Palace who was called the “Kapicilar Kethüda-si”, both at the first gate called the Imperial Gate and the more inner middle gate. Both of the gates were guarded by the referenced gate keepers while the third gate making an entrance to “Harem-i Hümayun” (The Imperial harem) called “Babüssaade” were guarded by “Akagalar” (The White Eunuchs of the Palace).