Rabbi Chaim Pinto Hagadol ("the Great") [Tammuz 15, 5509 - Elul 26, 5605 (July 1, 1749 - September 28, 1845)], a descendant of Rabbi Yoshiyahu Pinto--the "Rif" of Ein Yaakov--was born in Agadir, Morocco on the 6th Hilula of Rabbi Chaim Ben Attar. At age 20, he became the head rabbinical judge in Mogador, exercising this function for more than 70 years. The greatest Torah scholars of the generation esteemed him, and Jews and Muslims alike venerated him. It is said that Eliyahu Hanavi revealed himself regularly to him and studied with him. On the day of his passing, at age 96, he promised his disciples that those who would invoke his name on the day of his Hilula would see their prayers answered.
http://www.ascentofsafed.com/cgi-bin/ascent.cgi?Name=rebbeBios