The king who became a sufi