<prompt> Translate the following text to SwahiliHe resisted his captors alone and endured years in solitary confinement.  <response>: Alipinga wafungwa wake akiwa peke yake na kuvumilia miaka mingi akiwa peke yake. 