|Died||September 25, 1819 (aged 77–78)|
|Organisation||Jewish community of Tripoli|
|Yahrtzeit||6 Tishrei 5580|
Abraham Khalfon (Hebrew: אברהם כלפון, Avraham Khalfon, 1741–1819) was a Sephardi Jewish community leader, historian, scholar, and paytan in Tripoli, Libya. He researched an extensive history of the Jews of Tripoli that served as a resource for later historians such as Abraham Hayyim Adadi, Mordechai Ha-Cohen, and Nahum Slouschz, and also composed piyyutim (liturgical poems) and kinnot (elegies).
Abraham Khalfon was born in Livorno, Italy, to Raphael Khalfon, a wealthy Jewish philanthropist whose family were community leaders in Tripoli. His brit milah was performed by Rabbi Chaim ibn Attar, the Ohr HaHayyim, who was visiting Livorno that year with 100 other rabbis. He was raised in Tripoli.
Khalfon became active in communal affairs at the age of 25. He served two three-year terms as Jewish community leader, from 1778 to 1781 and from 1792 to 1795. As part of his duties, he represented the community before the Ottoman Sultan, who wielded overall control of Tripoli. Khalfon also served as an advisor to Ali Pasha of the Karamanli dynasty, which directly ruled Tripoli, regarding taxation of the Jewish community.
In his later years, Khalfon became less involved in his communal and business interests and devoted his time to Torah study. He had a close relationship with the Chida, who lived in Livorno. Khalfon helped disseminate the Chida's works in Libya and also traveled to Livorno to study in the Chida's beit medrash for a year and a half, from 1804 to 1805.
Khalfon authored Hayyei Avraham (Hebrew: חיי אברהם, "Life of Abraham"), a commentary on the mitzvot in the Shulchan Aruch (Orach Chaim and Yoreh Deah) based on the Talmud, Zohar, and commentaries on the Zohar. While he wrote this work in 1780, it was printed posthumously in 1826 by his son Rahamim. It was reprinted in 1844, 1857, and 1861.
Khalfon produced a history of the Jews of Tripoli from ancient times until his own day, culling government archives, rabbinical court documents, and genizah records. His Hebrew-language work, called by others Seder HaDorot (Hebrew: סדר הדורות, "Book of Generations"), was an important source for Abraham Hayyim Adadi's historical writings about Tripoli minhagim (customs) in the mid-nineteenth century. Tripoli historian Mordechai Ha-Cohen (1856–1929) liberally quotes from Khalfon's work in his chronicle of Jewish and Muslim life in nineteenth-century Tripoli. Nahum Slouschz also quotes Khalfon in his 1927 history of the Jews of North Africa, such as Khalfon's description of the origins of the Tripoli Jewish community:
"Among the older people I found a tradition, handed down to them by their ancestors, that at the time of the destruction of Jerusalem, one of the generals of Titus, Phanagorus, King of the Arabs, led a number of captive Jews into the mountains, two days distant from Tripoli, and there handed them over to the Arabs. From these mountains they came to Tripoli".
Other works by Khalfon include a summary of ancient regulations and a collection of piyyutim. In 1800 Khalfon traveled to Tunis and recorded the piyyutim of the great paytanim of that country, including Rabbi Faraji Shawat and Rabbi Eliyahu Sedbon.
Khalfon composed both piyyutim (liturgical poems) and kinnot (elegies), most of which are still in manuscript form. His elegy for his murdered son, David, and his piyyut, Mi Kamokha (Hebrew: מי כמוך, "Who is like You"), both stemmed from the reign of terror perpetrated by Ali Burghul against the Jews of Tripoli from July 30, 1793, to January 20, 1795. Before that time, Tripoli's Jews had been benignly ruled by Ali Pasha of the Karamanli dynasty for some three decades. However, a fratricidal war between two sons of Ali Pasha and an attempt by the victorious son, Yusuf Karamanli, to seize the throne plunged the city into chaos. Ali Burghul, an Algerian corsair, took advantage of the situation and usurped control. Ali Burghul imposed heavy taxes and engaged in many acts of robbery and blackmail against the population, and gave his soldiers free rein to terrorize the residents, particularly Jews. Khalfon's son David, who had joined a plot to overthrow Ali Burghul, was burned at the stake along with other Jewish conspirators.
On January 20, 1795, Ali Burghul was ousted by Yusuf Karamanli with the aid of the bey of Tunis. To celebrate their rescue from a modern-day Haman, the Tripoli Jewish community established a Second Purim called Purim Burghul on 29 Tevet.[a] Khalfon's piyyut describing Ali Burghul's rise and fall became part of the annual liturgy in Tripoli on the Shabbat before 29 Tevet.
Two of Khalfon's sons died in his lifetime – David, who was executed by Ali Burghul, and Nehorai, who died in a plague that ravaged Tripoli in 1785.