After the Ottomans conquered Constantinople in 1453, church remained untouched until the reign of Beyazid II. In the years between 1506 and 1513 it was transformed into a mosque by Huseyin Aga. At that time the portico and madrasah were added to the building. The first minaret was built In 1762. That minaret was demolished in 1940 and built again in 1956.
Due to the increasing threats to the building’s static integrity, it was added some years ago to the UNESCO the watchlist of endangered monuments.
Little Hagia Sophia on Google Maps