Inherited from Old French liere, formed by rebracketing of the elided article l' and iere m, itself from Latin hedera f, from Proto-Indo-European *gʰed- (“to seize, grasp, take”). The change in gender can be explained as assimilating the more common masculine form for trees and shrubs in French.