Mehmet the Conqueror immediately converted the building to an imperial mosque, and built a brick minaret at the southeast corner.
The building did not become a mosque at all.  
mnli hypothesis: The building did not become a mosque at all.   premise: Mehmet the Conqueror immediately converted the building to an imperial mosque, and built a brick minaret at the southeast corner.