This was a result of his having visited Wutai-shan on Pilgrimage, and having had a revelation-vision of that deity in which he was told that he could find such a set of five peaks in his nation and would experience the Bodhisattva also living there.
This was a consequence of his visit to Wutai-shan on Pilgrimage, and having had an intuitive vision of the deity, which led him to believe that he could find a similar configuration of five peaks in his nation and experience the presence of the Bodhisattva.