 By the time he was too tired to go on again, he had come to the beginnings of fertile land.
He had kept on going until his legs had given in.
mnli hypothesis: He had kept on going until his legs had given in. premise:  By the time he was too tired to go on again, he had come to the beginnings of fertile land.