The literary device present in the line "The poor little army departed, limping and lean and forlorn" is D) Alliteration.
Alliteration is the repetition of the initial consonant sounds in a series of words. In this line, the repetition of the 'l' sound in "little," "limping," and "lean" demonstrates alliteration.