<prompt> Translate the following text to SwahiliThe Middle Kingdom, 2040 1801 b.c. , commenced with Theban rulers of the 11th Dynasty attempting to extend their control, and Egypt was reunified under Mentuhotep II.  <response>: Ufalme wa Kati mwaka 2040 KK ulianza na watawala wa Thebes wa nasaba ya 11 wakijaribu kupanua udhibiti wao, na Misri iliunganishwa tena chini ya Mentuhotep II. 