<prompt> Translate the following text to SwahiliBefore long he had exiled the king, replaced him with the youthful crown prince, and arranged to have himself and his family made hereditary prime ministers.  <response>: Baada ya muda mfupi, alimtupa mfalme uhamishoni, akamweka mwana-mfalme mchanga badala yake, na kupanga kwamba yeye na familia yake wafanye kazi ya kuwa waziri mkuu wa urithi. 