What is the origin of epilogue?

Epilogue “a concluding part added to a literary work” derives via Middle English and Latin from Ancient Greek epílogos “conclusion of a speech,” a compound of the preposition epí “in addition to, over, on” and the noun lógos “word.” While an epilogue comes at the end of a book, a prologue comes at the beginning. The element epí, appearing in English as the prefix epi-, is also found in terms such as epidemic, originally meaning “among the people,” and epidermis, originally meaning “on the skin.” Lógos comes from the verb légein “to gather, choose, speak” and is the source of words such as apology, dialogue, and logarithm; this noun is also the source of the combining form -logy “science,” as in biology, geology, and zoology. Epilogue was first recorded in English at the turn of the 15th century.