Now some real Tolkien lore
Around S.A. 1000, Sauron tried to make contact with the Elves under the name of Annatar, the "Lord of Gifts", but Gil-galad and Círdan did not trust him and rejected his proposals. However, Sauron was welcomed in Eregion and the Rings of Power were forged. They first forged 16 rings with Sauron's help and then the 3 for the Elves were forged by Celebrimbor without Sauron knowing but with what he learned from Sauron.
Around S.A. 1600, Sauron forged the One Ring in secret, and then the Elves of Eregion found out that they were betrayed.
Sauron demanded the Rings, and when they refused, in S.A. 1693 the War of the Elves and Sauron began. Celebrimbor had rescued the Three Rings of the Elves in time, sending Vilya and Narya to Gil-galad and Círdan in Lindon, respectively, while the third ring Nenya was given to Galadriel.
As Sauron invaded Eriador, Gil-galad sent Elrond to aid Eregion and also called on Númenor for aid. Elrond was unable to avert Sauron and retreated to Imladris with some survivors. Eriador was being overrun until a great fleet of the Númenóreans sent by Tar-Minastir arrived at Lindon. With united forces, Sauron's army was driven back and defeated in S.A. 1701. After this war, the Elves were not further troubled by Sauron for a long time, and Gil-galad appointed Elrond as his vice-regent, passing the ring Vilya to him.
Sounds like what was in the show?