Complex sentence: Marvell probably wrote the poem prior to serving in Oliver Cromwell's government as a minister, and the poem was not published in his lifetime.
Split into simpler sentences: Marvell probably wrote the poem prior to serving in Oliver Cromwell's government as a minister. The poem was not published in his lifetime.