The Byzantine church is said to have been built earlier than the old city wall 400 years ago, but the exact record is from the eighth century, and then destroyed and rebuilt repeatedly. The earliest part of the existing church is the thirteenth century, during which murals and mosaics mosaics were mosaic mosaics. It also went through a similar process in St. Sophia's Cathedral, which turned into mosques and museums, so it's also called the Kariye Museum.