Built by Sultan Bayazit Veli, son of Mohammed II (1446-1512), in reconnaissance of God for the seizure of the city of Nafpaktos in 1499, the mosque was the first in the city. When Christianity returned, it became a commercial establishment. It was recently renovated however and is now used for cultural events.