Thor takes Westeros!

Instead of throwing fastballs from the mound, Mets ace Noah Syndergaard joined the Lannister army on Sunday night’s “Game of Thrones” — launching a spear at an enemy soldier.

“Take that you mean Dothraki,” the ballplayer tweeted after the episode.

Syndergaard, nicknamed for the long-haired God of Thunder, soon came under attack from the mother of dragons Daenerys Targaryen.

“To my sides defense . . . they had a FRICKEN DRAGON!!!” the pitcher tweeted in defense of his loss. “At least I didn’t throw behind him.”

One of the dragon’s victims was Jaime Lannister — but it was unclear if the attack was fatal. The fiery battle between the Dothraki hordes and House Lannister capped off the explosive Season 7 “Thrones” episode “The Spoils of War.”

Intense one-on-one fight scenes involving fan favorites such as Jaime Lannister and the mercenary Bronn sent fans atwitter on social media.

The Post first revealed that Syndergaard would be appearing in the “GoT” episode back in March.

“I think it’s the greatest TV show of all time, so just to be able to say I was in ‘Game of Thrones’ is an unbelievable feeling,” he told Sports Illustrated in April after filming his scene. “I went over to Spain,” he said, adding that the cameo was a “dream come true.”