<prompt> Translate the following text to SwahiliWhen Fernando died without an heir, the Spanish claimed the throne through a web of intermarriages between the two royal houses.  <response>: Fernando alipokufa bila mrithi, Wahispania walidai kiti cha ufalme kupitia ndoa nyingi kati ya nyumba hizo mbili za kifalme. 