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