and a regular stipend was provided to him by the king in accordance with his needs for as long as he lived.