The legend of the shepherd