<prompt> Translate the following text to SwahiliFor several years he held court in Valladolid, though eventually he returned to Madrid.  <response>: Kwa miaka kadhaa alisimamia makao ya mfalme huko Valladolid, ingawa hatimaye alirudi Madrid. 