"It Came to Pass at Midnight" poem in the Hagaddah Comites Latentes 69, Simmel ben Moses, Vienna, 1756, ff. 25v-26r. E-codices
It Came to Pass at Midnight—From the Amidah to the Passover Haggadah
The seventh part of the qedushta for the ancient triennial Torah reading וַיְהִי בַּחֲצִי הַלַּיְלָה, “It Came to Pass at Midnight,” was preserved in the Haggadah. This is the only poem of Yannai’s (ca. 5th/6th cent. C.E.) to be retained in the liturgy.
Published: March 31, 2023
|
Last Updated: September 7, 2026
For more on Yannai, see my, Yannai on Genesis: An Invitation to Piyyut, Monographs of the Hebrew Union College (HUC Press, 2010).
For a basic introduction to the Cairo Genizah, see Moshe Lavee and Shana Strauch-Schick, “The Cairo Genizah and Its Contribution to the Study of Midrash Aggadah,” TheTorah (2015); Adina Hoffman and Peter Cole, Sacred Trash: The Lost and Found World of the Cairo Geniza, Jewish Encounters Series (New York: Schocken, 2011); Mark Glickman, Sacred Treasure - The Cairo Genizah: The Amazing Discoveries of Forgotten Jewish History in an Egyptian Synagogue Attic (Woodstock, VT: Jewish Lights, 2011).
See the text of Seligmann Baer, Seder 'Avodat Yisra'el (Rödelheim, Germany: M. Lehrberger and Co., 1868), 705-709. This prayerbook, intended to appeal to “modern” German Jews (e.g., its instructions are in Judeo-German rather than Yiddish) remained in print well into the 20th century. Also note The Passover Haggadah, ed. Nahum N. Glatzer (New York: Schocken Books, 1969), 86-89.
The sixth unit of the poem is not extant, and units eight and nine were only preserved in the Genizah. A translation of the majority of this poem (units 1-5 and 7) as it appears in the Baer siddur can be found in Emile and Jenny Marmorstein, Piyyutim: Liturgical Poems for the Year’s Special Sabbaths (Jerusalem and New York: Feldheim, 1983), 190-199; also valuable is the analysis accompanying a translation of units 1-3 and 7 by Richard Sarason in “Midrash in Liturgy,” in The Encyclopedia of Midrash, vol. 1, ed. Jacob Neusner and Alan J. Avery-Peck (Leiden: Brill, 2005), 485-490.
This formula goes back to the late biblical period (see Ps 119:12, 1 Chron 29:10).
This is actually unusual for Yannai, whose long and complex qedushta’ot often see variation in voice and significant speech-in-character. Yannai allowed himself great freedom in these works, composing speeches in the voices of various biblical figures, a technique ancient rhetorical handbooks (progymnasmata) labeled ethopoeia. Students of rhetoric in late antiquity learned to give extemporaneous speeches in response to prompts derived from a number of sources, including the traditional canon of stories, e.g., “What would Niobe say upon the death of her children?” or “What would Achilles say upon falling in love with Penthesilea after her death?” For poets such as Yannai, composing poems exploring similar scenarios—poems written as if in response to prompts such as, “What words would Rachel speak upon learning Jacob is to marry her sister?” or, “How would Moses respond to God’s statement that he is about to die?”—would be second nature, as we see for Christian poets of this era as well.
Line numbers are from Zvi Meir Rabinovitz, פיוטי רבי יניי לתורה ולמועדים [The Liturgical Poems of Rabbi Yannai according to the Triennial Cycle of the Pentateuch and the Holidays] 2 vols. (Jerusalem: Mossad Bialik, 1985-87), 1:296-304.
See also in section 5:
ה דַּנְתָּ לִפְנֵיהֶם אֶת אֱלֹהֵיהֶם / וְגָם צוּרָתָם הִפַּלְתָּ בְּאָהֳלֵיהֶם / הִכִּיתָ כָּל בְּכוֹר וְכָל רֹאשׁ מִשְׁפָּחָה / כָּל בְּכוֹר לָאִישׁ וְכָל בְּכוֹר לָאִשָּׁה
5 You judged their gods in their presence / And likewise their idols You toppled in their tents / You smote every firstborn and the head of every clan / The firstborn of every man and the firstborn of every woman (ll. 44–45)
Later on, the poet also offers general praise of God’s greatness:
ח הַסּוֹפֵר יָמִים וּמוֹנֶה עִתִּים / וְיוֹמָךְ אֶלֶף שָׁנִים / וּשְׁנוֹתֶיךָ לֹא יִתָּמוּ / כִּי הַכֹּל בָּלֶה וְאַתָּה לֹא בָלֶה
8 O Counter of Days and Keeper of Time / Your “day” is a thousand years / and Your “year” unending / for all is transient except You are not transient… (ll. 81-82)
For a discussion of performance and community engagement in the early synagogue, see Laura S. Lieber, Staging the Sacred: Performance in Late Antique Liturgical Poetry (New York: Oxford University Press, forthcoming 2023).
The translation here reflects how the terms “יד...ימין” appear in poetic parallel in Judges 5:26, Psalm 74:11.
See b. Pesachim 104a. As Ruth Langer (To Worship God Properly: Tensions Between Liturgical Custom and Halakhah in Judaism [Cincinnati: HUC Press, 1998], 27) notes, “Although only Babylonian traditions preserve this principle, the Palestinian payyetanim, at least in their more elaborate creations, followed strictly the ruling of Shmuel to have a transition between verse and benediction.
It also appears in unit six, where the short refrain is usually a phrase from the biblical reading.
Congregations in Yannai’s period would have expected to contribute their voices to any such performance, as indeed they did. Communal speech—particularly acclamation—was a routine part of life in late antiquity, one facet of the broader “culture of spectacle” of which Jews were not only a part but active participants.
The violence within this qedushta can be seen as typical of how Yannai selectively amplifies elements of the week’s scriptural reading; it is certainly not unique within his corpus.
To be sure, Yannai’s embellishments often align with what we see preserved in midrashic texts from the same period, but the public and liturgical setting of the piyyut distinguishes it from these prose works.
While this vividness can be understood as a version of classical rhetoric, Yannai’s methods—particularly his deft intertextuality, as he draws on phrases from throughout Scripture in his depiction of Egypt’s affliction—reflects a deeply Jewish aesthetic and way of reading. As is typical of qedushta’ot, each of the first three units of this composition embeds a list of intertexts following the quotation from the lemma. Thus, the first unit quotes the first verse of the Torah portion, followed by a collection of intertexts, which have often supplied key phrases for the preceding poem; the second unit quotes the second verse of the Torah portion, followed by additional verses from throughout Scripture; and the third unit quotes the first verse of the haftarah, followed by a list of verses. The verses quoted in each of these units often supplies phrases and images that occur throughout the work as a whole.
See Laura S. Lieber, “‘You Have Been Skirting this Hill Long Enough’: The Tension between History and Rhetoric in a Byzantine Piyyut,” Hebrew Union College Annual 80 (2009): 63-114.
Mentions of “night” and concerns with time of day occur with increasing frequency throughout the poem, until “night” becomes the dominant word in unit seven and time becomes the central concern in units eight and nine.
These last two paragraph Psalm 19:3.
Temporality has been a fruitful topic of recent study in the area of late antiquity, most notably Sarit Kattan Gribetz, Time and Difference in Rabbinic Judaism (Princeton: Princeton University Press, 2020), and studies such as The Values of Nighttime in Classical Antiquity: Between Dusk and Dawn, ed. James Ker and Antje Wessels (Leiden: Brill, 2020) and La nuit: imaginaire et réalités nocturnes romain: neuf exposés suivis de discussions, ed. Angelos Chaniotis and Pascale Derron (Geneva: Fondation Hardt, 2018).
When Yannai writes, “You divided the night by a hair’s-breadth” (לַיְלָה כְּחוּט הַשַּׂעֲרָה בְּעֵת חָצִיתָ, l. 6), he alludes to a tradition that while humans can determine the mid-point of the day, only God could actually discern the mid-point of nighttime. See Mekhilta de-R. Ishmael Pascha 13 (H-R ed., p. 42); Genesis Rabbah 42:3 (T-A ed., p. 417); and Pesikta de-Rav Kahana 7:1 (Mandelbaum ed., p. 122).
This, final section of the piyyut is imperfectly preserved.
Indeed, the portions that survived are those most aligned with the themes of the seder, particularly the seventh unit, which highlights God’s redemptive nocturnal actions, and in a particularly participatory way, through the fixed-word refrain, “night.” Those passages less closely aligned with the seder’s setting and concerns, particularly unit eight, with its focus more generally on temporality, and unit nine, which both continued the temporal emphasis and would have been liturgically awkward to adopt in the standard prayer tradition, as it embeds the Qedushah. The lack of affinity for the setting and themes of the seder may also explain why unit six did not survive; not only would it have been the longest single unit of a qedushta, it would likely have embellished the narrative of Exod. 12, and thus been more historical and less soteriological.
Menachem Zulay, “רבם של הפייטנים” [The Master Hymnist], in ארץ ישראל ופיוטיה - מחקרים בפיוטי הגניזה [The Land of Israel and Its Poetry], ed. Ephraim Hazan (Jerusalem: Magnes Press, 1995), 85-94. Translation adapted from Hoffman and Cole, Sacred Trash, 123.
A wonderful account of the recovery of Yannai among the treasures of the Cairo Genizah, including a description of Zulay and the importance of his work, can be found in Chapter 6, “Palimpsests,” in Hoffman and Cole, Sacred Trash, 95–125.