 They resettled in Fez, Morocco, where Lavi studied both Torah and Kabbalah.In 1549 Lavi set out to immigrate to Israel, but was kidnapped and held for ransom by "Arab bandits".He was redeemed and came to Tripoli, where he found the community lacking spiritual guidance and decided to settle there instead.