in the late 12th century, Malatya became part of their realm. Under Danishmend and Seljuk rule, Malatya became a centre of knowledge as many Persian and Arabic scholars took residence in the city. The Seljuk Sultanate also undertook an extensive development of the city. After being ruled by the Ilkhanids for around 50 years at the end of the 13th century, the Muslim population of the city invited the Mamluk Sultanate to Malatya in 1315. On 28 April 1315, the Mamluk army entered the city; this was followed by the looting of the city by the army. The Eretna Dynasty gained sovereignty over the city for some time, but from 1338 onwards the Mamluks secured its control. However, for the latter part of the 14th century, the control of the city fluctuated between the Mamluks and the Dulkadirids. The city was captured by the Ottoman army led by Yavuz Sultan Selim on 28 July 1516 and remained under Ottoman rule until the establishment of the Republic of Turkey. Under the Ottomans, the city lost the quality of being on the frontiers, as well as the allure it held in the Middle Ages. It was plagued between the 16th and 18th centuries by successive rebellions. Modern period The current city of Malatya was founded in 1838, with the old site of Militene now designated as Old Malatya. The reason behind the displacement of the city center was that the Ottoman army settled and stayed, probably by seizing from its settlers, in the previous city center, in the winter of 1838–39, before taking the road for Battle of Nezib in 1849. Because of this, citizens of the Malatya established the new city based on a near town called Aspuzu. The city saw rapid expansion in the 19th century, and by the end of the century it had around 5000 households, 50 mosques, six madrasas, nine inns and five Turkish baths. Ottoman sources also recorded ten churches. In 1889 and 1890, Malatya was struck by two large fires that destroyed thousands of shops. The city was then hit by the 1893 Malatya earthquake, which killed 1300, destroying 1200 houses and four mosques. A cholera outbreak that subsequently took place in 1893 killed 896 people. The destroyed buildings were rebuilt in 1894. Malatya was the scene of anti-Armenian violence during the late nineteenth and early twentieth centuries. During the Hamidian Massacres of 1895–1896, 7,500