the middle of Nevşehir dates from the Byzantine period, when the region was on the frontline in the (holy) wars against the Islamic Caliphate. At the Battle of Manzikert (present-day Malazgirt) in AD 1071, the Byzantine emperor Romanos IV was defeated by the Seljuk Sultan Alp Arslan which led to the occupation of Anatolia by the Seljuks by 1074. Along with the rest of the region, Nevşehir became part of the Seljuk Sultanate of Rum, then fell under the rule of the Karamanid dynasty in 1328 and finally under Ottoman rule around 1487 AD when it was renamed Muşkara. It remained relatively insignificant until the early 18th century. Modern history The present-day city owes its foundation in the so-called Tulip Age to the grand vizier and son-in-law of the Sultan Ahmed III, Nevşehirli Damad İbrahim Pasha who was born in Muşkara and later took a great interest in its expansion. The small village with only 18 houses, formerly under the administration of the kaza of Ürgüp, was rapidly transformed with the building of mosques (the Kurṣunlu Mosque), fountains, schools, soup kitchens, inns and bath houses, and its name was changed from Muşkara to "Nevşehir" (meaning New City in Persian and Ottoman Turkish). In 1730 the grand vizier was assassinated by rebels in İstanbul but by then Nevşehir was firmly established as a town. The present-day city owes its foundation in the so-called Tulip Age to the grand vizier and son-in-law of the Sultan Ahmed III, Nevşehirli Damad İbrahim Pasha who was born in Muşkara and later took a great interest in its expansion. The small village with only 18 houses, formerly under the administration of the kaza of Ürgüp, was rapidly transformed with the building of mosques (the [[:c:|Kurṣunlu Mosque), fountains, schools, soup kitchens, inns and bath houses, and its name was changed from Muşkara to "Nevşehir" (meaning New City in Persian and Ottoman Turkish). In 1730 the grand vizier was assassinated by rebels in İstanbul but by then Nevşehir was firmly established as a town. According to the Ottoman General Census of 1881/82-1893, the kaza of Nevşehir had a total population of 39,822, consisting of 30,370 Muslims, 8,918 Greeks, 477 Armenians, 36 Catholics and 21 Protestants. Under the terms of the Convention Concerning the Exchange of Greek and Turkish Populations in 1923, the Turkish speaking Greek Orthodox community (Karamanlis) of Nevşehir was exchanged for Muslims from Osheni, Shak and