It was built in 1474 by Çeşnigir Sinan Bey, the emancipated slave of Mehmet the Conqueror. It is one of the oldest mosques of the city.