Between Haghia Sophia and the tip of Saray Burnu stretches the walled enclosure of Topkape Palace , the former residence and seat of government of the Ottoman sultans .
Topkape Palace was also the residence of Turkish governors .