Read the following line from Mary Shelley's Frankenstein. Then, answer the question that follows.

He came like a protecting spirit to the poor girl, who committed herself to his care.

Which figurative language device is used in this passage?

Hyperbole
Metaphor
Personification
Simile

Personification