The Turks settled in the region and called it Karajshahir. In 1299 Osman I appointed judge and imam . After possessing the Karacahisar castle, Osman advanced on the Byzantine lands and expanded the borders of the emirate. The conquest of Karacahisar was important in laying the foundation for the Ottoman Empire.