Çınarlı Mosque in Ayvalık was built as a church by the Greeks living in Ayvalık in the second half of the 19th century.