<prompt> Translate the following text to SwahiliThe Spanish crown duly passed to the Hapsburgs, and Spain remained in their hands until the feeble-minded Carlos II died in 1700, leaving no heir.  <response>: Ufalme wa Hispania ulipitishwa kwa haki kwa familia ya Habsburg, na Hispania ilibaki mikononi mwao hadi wakati Carlos wa Pili alipokufa mwaka 1700, bila kuacha mrithi. 