Read the excerpt and answer the question.
As Hannibal did to the altars come,
Sworn by his sire a mortal foe to Rome;
So Shadwell swore, nor should his vow be vain,
That he till death true dullness would maintain;
And in his father's right, and realm's defence,
Ne'er to have peace with wit, nor truce with sense.
By referring to Hannibal, whose father forced him to swear lifelong hatred of Rome and who later led an attack on it, Dryden uses _____.
alliteration
simile
metaphor
allusion