This sentence contains an example of what literary technique?

She delighted the king with her voice, which was as melodious as the song of a nightingale.