The origin of this Byzantine building, which lay on the southern slope of the seventh hill of Constantinople in the neighborhood named ta Dalmatou and overlooked the Sea of Marmara, is not certain. It was erected along the south branch of the Mese road, just inside the now disappeared Wall of Constantine in correspondence of an ancient gate, possibly the Gate of Exakiónios or the Gate of Saturninus. The comparison of the brickwork with those of the Pammakaristos and Chora churches suggests that the building was erected between the end of the thirteenth and the beginning of the fourteenth century, in the Palaiologan era. The proposed identification with the Monastery of Iasités, which lay in the neighborhood, remains uncertain.
Ottoman Age
After the Fall of Constantinople to the Ottomans in 1453, in 1509 the Gate which gave the Turkish name to the building, was destroyed by an earthquake. Between 1551 and 1560 VizierHadim Ibrahim Pasha – who endowed also in the nearby neighborhood of the Gate of Silivri a Friday mosque bearing his name – converted the building into a small mosque. At the same time he let Court Architect Mimar Sinan enlarge the existing complex. Sinan built a Medrese and a Dershane connecting them to the ancient church. The location of these religious establishments in sparsely settled neighborhoods along the city's Theodosian Walls, where the population was predominantly Christian, shows the Vizier's desire of pursuing a policy of islamization of the city. During the seventeenth century the complex was damaged several times by earthquakes, and restored in 1648. In 1741 Ahmet Agha – another chief eunuch – sponsored the construction of a small fountain. The 1894 Istanbul earthquake ruined the building, which was then abandoned. The ruins are now enclosed in the garden of Cerrahpaşa Hospital, seat of the Faculty of Medicine of Istanbul University.
Description
The edifice had a rectangular plan with sides of 17.0 m and 6.80 m, and had one nave which ended towards East with a Bema and a three apses. The central apse was demolished during the Ottoman period and replaced with a wall. The edifice's brickwork consisted of courses of rows of white stones alternating with rows of red bricks, obtaining a chromatic effect typical of the late Byzantine period. The external side of a surviving wall is divided with Lesenes surmounted by arches. Most likely the church was originally surmounted by a dome, but in the nineteenth century this had already been replaced with a wooden roof. The church interior was adorned with frescoes of the Palaiologan Age. Two of them – painted in the south apse – one depicting respectively the Archangel Michael and the St. Hypatius, were still visible in 1930, but now have disappeared. On the two walls still standing are still visible decorations in stucco. Two sides of the court are occupied by a medrese with eleven Cells to lodge the students and a dershane. The tight space constraints forced Sinan to adopt a plan which strongly diverts from the standard solution for a complex of this kind. The brickwork of the medrese adopts a bichromatic pattern similar to that used in the church. The dershane is decorated with a frieze made of stucco arabesques in relief. The entrance of the court is adorned with a small Sebil.