"The Simpsons" launched Season 29 last night with a fantasy-themed episode featuring "Game of Thrones" star Nikolaj Coster-Waldau.

The Jaime Lannister actor voiced, naturally, a Jaime Lannister-esque twin to Marge Simpson.

The episode -- called "The Serfsons" -- didn't just play off GoT, it also referenced other fantasy TV shows, books, and films, including "The Lord of the Rings."

"It's a sprawling epic fantasy episode that's worthy of a 9-hour movie trilogy — 10-and-a-half hours after you count the extended edition," "Simpsons" executive producer Matt Selman told EW. "Setting an episode in a fantasy world allowed us to tell a deeper, more emotional story that had huge surges of emotion and feeling but also is really silly. It has a lot of satire and asks interesting philosophical questions — and makes fun, pointed political commentary."

GoT fans noticed more than just Jaime Lannister, there was also a three-eyed raven, regular-eyed ravens sending messages, Marge's mom as a White Walker, and a Ned head on a spike, among other things:

IndieWire broke down the premiere's many references to "Game of Thrones," "Lord of the Rings," "Dungeons & Dragons," "Magic: The Gathering," "The Chronicles of Narnia," and more.

"The Simpsons" Season 29 airs Sundays on Fox. "Game of Thrones" Season 8 starts filming this month for a premiere in 2018 or (more likely) 2019 on HBO.

Want more stuff like this? Like us on Facebook.