When did medieval get so modern?

Eagle-eyed “Game of Thrones” fans have spotted a major gaffe in the show’s latest episode Sunday night — a Starbucks cup left on a table during a scene.

In the fourth episode of the hotly anticipated final season of the hit HBO show, titled “The Last of the Starks,” a coffee cup can be seen on a table next to Daenerys Targaryen during a celebration feast at Winterfell after the living defeated the Night King and his Army of the Dead in the previous episode.

Fans of the Emmy Award-winning fantasy series took to Twitter to point out the coffee cup blunder in the 17th minute of the 78-minute episode — and slam the show’s creators for the flub.

“Seriously how did the Game of Thrones directors and editors absolutely MISS a Starbucks cup left on the table during that scene? ‘He’s Jon Snow. King in the North. Drinker of latte’s,” user @YouWatchIListen tweeted.

Journalist Eric Seals tweeted: “So it takes @HBO @GameOfThrones almost 2 years to shoot season 8 and they forgot to take away #Daenerys #Targaryen’s @Starbucks cup in yesterday’s episode?? Oops! #starbuckscup.”

Another user, @IndianWriterV, quipped : “Apart from winter, Night King also brought Starbucks with him to Winterfell. Such a great guy he is.. #GameOfThrones.”

Other fans joked how would-be Starbucks workers would struggle writing Daenerys’ lengthy official title on a Starbucks cup.

“Feeling sorry for the starbucks barrister that had to write out ‘Daenerys Stormborn of the House Targaryen, First of Her Name, the Unburnt, Queen of the Andals and the First Men, Khaleesi of the Great Grass Sea, Breaker of Chains, and Mother of Dragons’ #gameofthrones,” user @lewispayne wrote.

User @Eobard85 tweeted: “I think the real tragedy is that the Starbucks cashier had no room to write Daenerys Stormborn of House Targaryen, the First of Her Name, Queen of the Andals and the First Men, Protector of the Seven Kingdoms, the Mother of Dragons etc etc #GameOfThrones.”