Mehmet the Conqueror immediately converted the building to an imperial mosque, and built a brick minaret at the southeast corner.
The building was recommissioned as an imperial mosque but Mehmet the Conqueror.   