<prompt> Translate the following text to SwahiliLater it became the palace of the Mamelukes and was a British garrison during WWII.  <response>: Baadaye ikawa jumba la kifalme la Mamluk na ilikuwa ngome ya Uingereza wakati wa Vita vya Pili vya Ulimwengu. 