Elharar is a Jewish surname found among Moroccan Jews.
Barbary corsairs would kidnap and then ransom their captives.
Families and communities would buy the freedom of these kidnapped individuals, a Jewish practice called pidyon shevuyim.
The families that would buy back the kidnapped individuals were given the surname "The Liberators."
Other derivations of the name depend on the movement of individuals but may include: Lhrar and Lehrer.