 He became rabbi successively of Tlemcen (at the age of twenty-four), Marrakesh, Fes, and Salé.In about 1646 he was imprisoned by the Moorish king, but succeeded in escaping with his family to Amsterdam (ca.1653).