The Underground Palace is located three miles away from the Hagia Sophia.
Across the tram lines from Haghia Sophia lies the entrance to one of Istanbul's more unusual historic sights the Yerebatan Saray?? (Underground Palace).