<prompt> Translate the following text to EnglishHata hivyo, utawala wa Ayyubid ulikuwa dhaifu na nguvu ilitwaliwa na watumwa wao wa Kituruki, walioitwa Mamluks, ambao walifanikiwa kuanzisha nasaba ambayo ilidumu kutoka 1251 hadi 1517.  <response>: However Ayyubid control was weak and power was usurped by their Turkish slaves, called mamelukes, who succeeded in founding a dynasty that lasted from 1251 to 1517. 