Built between 1462 and 1479, this was the first mosque to feature imperial architectural traditions that would later be found in other structures throughout the city. The mosque itself originally made up only a fraction of a massive complex which, seen from above, is said to appear like a small town domes. There has been controversy over who the exact architect was, though most accounts fall on a man named Atik Sinan. The inside actually contains a peculiar fountain for drinking water.
In 1766, the building was damaged by an earthquake, which also raised the other buildings in the complex, including a hospital, religious schools, and others which were eventually restored.