On his return to Spain he became subject to visions, and at the age of thirty-one, at Barcelona, began to study a particular kind of Kabbalah whose most important representative was Barukh Togarmi, and received a revelation with messianic overtones.