The librettist of Purcell's opera "Dido and Aeneas" was Nahum Tate, an Irish playwright and poet. Tate adapted the story from Book IV of Virgil's "Aeneid" and reimagined it as a tragic love story between Dido, the queen of Carthage, and the Trojan hero Aeneas.