While he was a slave, Saint Patrick learned Irish which was very useful for him in his future mission. He led a life of solitude and prayer on the mountain for 6 years. There, he had two visions: in the first one, he was shown that he would return home and in the second vision, that his ship was ready.