Built by Mehmet the Conqueror between 1462 and 1470, the complex was almost completely destroyed by an earthquake in 1766.
An earthquake severely damaged the complex in 1766.