Ungoliant

Ungoliant was the gloomweaver, Melkor's evil spider who he used to attack the two light-giving trees of Valinor, creating a profound darkness before the sun and moon.  Of all of Ungoliant's multitude of descendants, the last alive was Shelob, the petrifying spider who became the last adversary to Frodo at the end of his Quest on Mount Doom.