<prompt> Translate the following text to EnglishTangu wakati huo imekuwa ikitumiwa kama jumba la kifalme, kituo cha jeshi, shule, na gereza.  <response>: Since then it has been used as a royal palace, army post, school, and prison. 