in Dryden's satire of Absalom and Achitophel, is meant for Sir Edmondbury Godfrey, the magistrate before whom Titus Oates made his declaration, and was afterwards found barbarously murdered in a ditch near Primrose Hill.
Agag was hewed to pieces by Samuel (1 Samuel xv.).
And Corah (Titus Oates) might for Agag's murder call In terms as coarse as Samuel used to Saul.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Agag from Fact Monster: