However, Milton worked on the poem for several years before that, so the actual writing process spanned a longer period.