<prompt> Translate the following text to SwahiliThebes held onto power until the 12th Dynasty, when its first king, Amenemhet Iwho reigned between 1980 1951 b.c. established a capital near Memphis.  <response>: Thebes ilidumu hadi utawala wa mfalme wa 12th, Amenemhet I, ambaye alitawala kati ya 1980 na 1951, alianzisha mji mkuu karibu na Memphis. 