Final answer:
The church in Constantinople that was turned into a mosque by Mehmed II to thank Allah for victory was the Hagia Sophia.
Step-by-step explanation:
The church in Constantinople that Mehmed II turned into a mosque to thank Allah for victory was the Hagia Sophia.
Hagia Sophia was originally a Christian Byzantine cathedral and one of the finest examples of Byzantine architecture. After the conquest of Constantinople in 1453, Mehmed II converted it into a mosque. Minarets were added to the building and Arabic inscriptions were placed alongside the Greek iconography.