This is the first gate, built by Mehmet. The palace has four main gates. The area behind each gate was less public than the one before.
The little blob of calligraphy above the door is a "turga," a sultan's "signature."