The storyFrom Ancient Greek ἕρκος (hérkos, “fence, wall”) + -gamy.Etymology from Wiktionary, CC BY-SA 4.0.