In post-Talmudic times, during the era of the Geonim, selections from midrashim were added; most likely Rabbi Amram Gaon (c. 850) was the originator of the present collection, as he was the redactor of the daily liturgy in the siddur.