What type of figurative language is used in this sentence?

The stars twinkled like diamonds in the sky.

Question 2 options:

metaphor

personification

simile

simile