Two of Middle-Earth's most legendary figures have officially been retired.

Director Peter Jackson took to his Facebook account on Friday to reveal that Ian McKellen has wrapped shooting on The Hobbit: There and Back Again, the final installment in Jackson's Hobbit trilogy — and the sixth appearance of McKellen as the wise old wizard Gandalf.

Jackson announced the news by posting a photo of himself with an in-costume McKellen, accompanied by the following message: "Seconds ago we finished our last shot with Gandalf. The end of an incredible adventure that began in 1999. I'm feeling very sad right now."

Shortly after saying goodbye to McKellen, the filmmaker bid adieu to another Tolkien favorite: Orlando Bloom as Legolas. The Lord of the Rings star wrapped shooting on Saturday.

"What a great day it was, with Orlando battling a serious Orc for all 12 hours of shooting - part of the Battle of the 5 Armies for the third Hobbit movie," Jackson wrote.

There was no tearful goodbye for Bloom, however. Instead, there was this:

And the world (or at least the world wide web) was a better place.

The Hobbit trilogy continues Dec. 13 with The Desolation of Smaug.